15apr2010 BitmapVector Activitysheet
15apr2010 BitmapVector Activitysheet
Bitmaps are one type of graphic that a computer can store and display. Vectors are another type of computer graphic. We'll
talk about those later. Let's talk about bitmaps!
If you look very, very closely at a photo on a computer, you can see
the individual pixels that make it up. Take for example,this photo of a
tomato. Look what happens when we zoom in on it:
A B C D E F
In a bitmap graphic, the 1 B1 E1 SMILEY FACE BITMAP
computer doesn't understand
that the face has two blue 2 B2 E2
eyes and a red mouth. It only
Blue pixels:
3
understands that the B1, B2, B1, B2, E1, E2
E1, and E2 pixels are blue, and 4 A4 F4
that the A4, B5, C6, D6, E5, and
F4 pixels are red.
5 B5 E5 Red pixels:
6 C6 D6 A4, B5, C6, D6, E5, F4
This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.
Please feel free to copy, distribute, and share this with your friends!.
1B
BITMAP COMPUTER GRAPHICS
Here's the instructions to create the bitmap examples we gave you on
page 1A!
Bitmap instructions:
This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.
Please feel free to copy, distribute, and share this with your friends!.
2A
VECTOR COMPUTER GRAPHICS
Vocabulary:
Vector: A type of computer graphic that defines a graphic based on points, lines,
curves, and shapes.
Node: A point in a vector file. If you connect two nodes together, you get a line!
Vectors are another type of computer graphic that we can use to create computer graphics. Unlike bitmaps, vectors do not
store information about individual pixels in a graphic. Let's learn more about vectors!
This is a pixel!
A B C D E F
In a vector graphic, the computer doesn't know
about pixels. We don't tell the computer how SMILEY FACE VECTOR
1
to fill in a grid of pixels like we do with a bitmap.
Nodes:
2
Instead, with vector graphics we tell the
3
A3, B2, B5, D3, D5, E3
computer about important nodes. We tell it
where those nodes are. Then we tell it what 4 Circles:
lines or shapes to draw at the nodes.
5 Draw blue circles at B2 and D3.
In this smiley face picture, the computer
understands that there are two circles and
6 Lines:
three lines. Draw a red line from A3 to B5.
These green dots Draw a red line from B5 to D5.
are nodes!
Draw a red line from D5 to E3.
This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.
Please feel free to copy, distribute, and share this with your friends!.
2B
VECTOR COMPUTER GRAPHICS
Create your own vector graphics on this worksheet!
Vector instructions:
This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.
Please feel free to copy, distribute, and share this with your friends!.