Vector Graphics - Yr 2 Only
Contents
Overview
https://www.youtube.com/watch?v=dSNO6ToqRQE&list=PLCiOXwirraUBIKvhutnNnMkVTpQ_psPN2
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, this links to vector graphics because each vector can be a point, or even a line from given point. We can therefore use these to represent the shapes within an image, we can also mathematically scale and also calculate the magnitude (or distance) (link to page: Vectors ).