Docsity

BITMAP COMPUTER GRAPHICS, Summaries of Computer Graphics

Toggle sidebar
bg1
BITMAP COMPUTER GRAPHICS
Blue pixels:
B1, B2, E1, E2
A4, B5, C6, D6, E5, F4
Red pixels:
A B C D E F
1
2
3
4
5
6
B1 E1
B2 E2
B5 E5
C6 D6
A4 F4
Pixel:
Vocabulary:
A single point in a bitmap-based computer graphic.
Bitmap: A map that stores information about many pixels (for example, the color and
position of each pixel). The map is used on a computer to generate a picture.
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!
1A
Here's an example of a smiley face graphic you might see on a computer. How does the computer store
and display this graphic? We give the computer instructions on how to build the graphic, pixel by pixel, kind of
like a patchwork quilt. We call this patchwork quilt a bitmap. To see how we might instruct a computer to draw
this smiley face, see the grid and pixel instructions below:
In a bitmap graphic, the
computer doesn't understand
that the face has two blue
eyes and a red mouth. It only
understands that the B1, B2,
E1, and E2 pixels are blue, and
that the A4, B5, C6, D6, E5, and
F4 pixels are red.
SMILEY FACE BITMAP
DID YOU KNOW?
Does your parent or teacher have a digital camera? Did you know
that when a digital camera takes photos, it uses bitmaps to do it?
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:
HOW BITMAPS WORK
These squares are called pixels!
CREATE YOUR OWN BITMAPS!
Using your graph paper and colored pencils, create your own bitmaps using a 6 x 6 grid! Then, think about how you would
instruct a computer to re-create your bitmaps. Which pixels would you tell the computer to make red? Which ones would you
tell the computer to make blue?
Here's some examples to give you some ideas! We'll tell you how to make these on the next page.
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!.
pf3
pf4

Partial preview of the text

Download BITMAP COMPUTER GRAPHICS and more Summaries Computer Graphics in PDF only on Docsity!

BITMAP COMPUTER GRAPHICS

Blue pixels:

B1, B2, E1, E

A4, B5, C6, D6, E5, F

Red pixels:

A B C D E F 1 2 3 4 5 6 B1 E B2 E

B5 E C6 D

A4 F

Pixel:

Vocabulary:

A single point in a bitmap-based computer graphic.

Bitmap: A map that stores information about many pixels (for example, the color and position of each pixel). The map is used on a computer to generate a picture.

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!

1A

Here's an example of a smiley face graphic you might see on a computer. How does the computer store and display this graphic? We give the computer instructions on how to build the graphic, pixel by pixel, kind of like a patchwork quilt. We call this patchwork quilt a bitmap. To see how we might instruct a computer to draw this smiley face, see the grid and pixel instructions below:

In a bitmap graphic, the computer doesn't understand that the face has two blue eyes and a red mouth. It only understands that the B1, B2, E1, and E2 pixels are blue, and that the A4, B5, C6, D6, E5, and F4 pixels are red.

SMILEY FACE BITMAP

DID YOU KNOW?

Does your parent or teacher have a digital camera? Did you know that when a digital camera takes photos, it uses bitmaps to do it?

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:

HOW BITMAPS WORK

These squares are called pixels!

CREATE YOUR OWN BITMAPS!

Using your graph paper and colored pencils, create your own bitmaps using a 6 x 6 grid! Then, think about how you would instruct a computer to re-create your bitmaps. Which pixels would you tell the computer to make red? Which ones would you tell the computer to make blue? Here's some examples to give you some ideas! We'll tell you how to make these on the next page.

This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.

BITMAP COMPUTER GRAPHICS

Blue pixels: A2, F Green pixels: B2, E Red pixels: B5, C4, C6, D4, D6, E

Blue pixels: A2, A3, B3, E2, E3, F Red pixels: D5, D6, E5, E Yellow pixels: A1, A4, A5, A6, B1, B4, B5, B6, C1, C2, C3, C4, C5, C6, D1, D2, D3, D4, E1, E4, F1, F4, F5, F

Green pixels: B3, E Red pixels: B6, C6, D6, E Blue pixels: A1, A2, A3, A4, A5, A6, B4, B5, C1, C2, C3, C4, C5, D1, D2, D3, D4, D5, E4, E5, F1, F2, F3, F4, F5, F

Blue pixels: A1, A2, B1, B2, C1, D1, E1, E2, F1, F

Red pixels: A4, B5, C6, D6, E5, F

Give these characters a try on your own! Label the the squares on your graph paper with letters on the top, and numbers along the left side, inside of the boxes, like on the graph paper below. Next, fill in the squares for each color as indicated below on your graph paper. We show you an example of how to do one of the characters below!

Here's the instructions to create the bitmap examples we gave you on page 1A!

1B

Bitmap instructions:

This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.

VECTOR COMPUTER GRAPHICS

Create your own vector graphics on this worksheet!

2B

Draw your own vector graphics!

Label the your graph paper with letters on the top, and numbers along the left side, but this time put the labels on the lines, not on the square, like on the graph paper below. Next, follow the instructions below to create a vector drawing. Use your ruler if you need it to connect nodes with a line! We did an example for you below.

Nodes: A4, B4, B6, D2, F4, F6, G

Nodes: A7, C1, C4, C5, C7, D2, E1, E4, E5, E7, G

Outer shape: Draw a red line from A7 to C1. Draw a red line from C1 to E1. Draw a red line from E1 to G7. Draw a red line from A7 to C7. Draw a red line from E7 to G7. Draw a red line from C7 to C5. Draw a red line from C5 to E5. Draw a red line from E5 to E7.

Vector instructions:

Inner shape: Draw a red line from C4 to D2. Draw a red line from D2 to E4. Draw a red line from C4 to E4.

Nodes: B3, C5, D5, E5, F3,

Eyes: Draw a yellow circle that is 2 pixels wide, centered at node B3. Draw a yellow circle that is 2 pixels wide, centered at node E3. Draw a blue circle that is 1 pixel wide, centered at node B3. Draw a blue circle that is 1 pixel wide, centered at node E3.

Face: Draw a green circle that is 4 pixels wide, centered at node D5. Mouth: Draw a red line from C5 to E5.

Roof: Draw a red line from A4 to D2. Draw a red line from D2 to G4. Draw a red line from A4 to G4. Fill shape in red.

House: Draw a blue line from B4 to F4. Draw a blue line from F4 to F6. Draw a blue line from B6 to F6. Draw a blue line from B4 to B6. Fill shape in blue.

This resource sheet is provided to you by Red Hat under a Creative Commons Attribution 3.0 license.