![]() We’re also limited by the set of instructions that we can perform. ![]() Conversely, anything we do to manipulate a raster image will not impact the overall complexity since it’s just changing the colour of existing pixels. This can make it harder to render the final result but also larger to store and more difficult to change. However, because a vector image is a list of instructions, we make the image more complicated every time we add it to this list. There’s no concern about how this works because we have the full instructions that got us to this point. Equally, we can change the smile to a frown by changing the instructions for drawing the curve. For example, above, we saw us describing a circle centred at the midpoint of the canvas – 50% x 50%.įor example, we can change the colour of our smiley face by changing the “Fill” instruction to a different colour. All of these will be in terms of our arbitrary units. We’d also want to be able to draw lines at least and possibly many other shapes as well. For example, above, we saw instructions for drawing circles, curves and filling areas. We also need a set of actions that we can perform on the image. ![]() For example, it could be percentages where the canvas is 100% in each direction. Instead, we will work in terms of arbitrary units. Vector images will also have a canvas to work on, but the canvas isn’t a specific size. This is exactly the same image as we drew above but represented in a very different way. Draw a curve starting at 40% x 60%, ending at 60% x 60%, and going through 75% x 75%.Draw a filled black circle centred at 60% x 40% and with a radius of 10% of the canvas. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |