Difference between revisions of "Vector Graphics - Yr 2 Only"
(→Revision Questions) |
(→Revision Questions) |
||
Line 58: | Line 58: | ||
+ | { | ||
+ | |type="{}"} | ||
+ | Give an example of the information you would have to give to create an image of a blue circle. | ||
+ | || The first unit is a 1, so we add the first number once. | ||
+ | || 10101 | ||
+ | || The second unit is also a 1, so we add the first number but moved to the left by one unit. | ||
+ | || 101010 | ||
+ | || Then, we add those two numbers together. | ||
+ | || 111111 | ||
+ | || Finally, add the extra bits to make it 8-bit | ||
+ | || 00111111 | ||
Revision as of 09:26, 16 October 2019
Contents
Overview
https://www.youtube.com/watch?v=dSNO6ToqRQE&list=PLCiOXwirraUBIKvhutnNnMkVTpQ_psPN2
TRC PowerPoint
Definition
Images created by using vector points, lines, and shapes.
These can be assigned a colour for the Stroke (outline) and the Fill (inside).
A vector can be scaled mathematically so no image quality is lost.
Details required for each shape
Drawing List
Compared with BitMap
Bitmaps are stored pixel by pixel However, in a vector graphic the image is stored by calculating the points, lines and shapes used to create the image. A drawing list is created to recreate the image. Vector graphics can be resized using mathematics so increasing the size has no effect on quality of the image.
The file size of a vector graphic can be significantly smaller than a bitmap. the drawing list is essentially the instructions to rebuild the image. However if you attempted to capture a real world photograph, you would essentially have so many shapes to represent the changes in colour that the file size might not be any smaller.
Vector Data Structure
A vector is one of the abstract data structures covered in year 2 (link to page: Vectors ).
Revision Questions
try to add questions on:
- what is vector graphics
- drawing lists
- benefits of using vector graphics