[IAEP] From South Central LA: Binary, hexadecimal, and colors
Caryl Bigenho
cbigenho at hotmail.com
Fri Nov 4 01:46:12 EDT 2011
Hi All...
Here is what the small olpc-CP deployment in South Central LA is up to now. Pretty impressive. But then their "teacher", volunteer Abe Kazemzadeh, is a pretty impressive guy!
Caryl
Date: Fri, 4 Nov 2011 03:59:22 +0000
To: cbigenho at hotmail.com
From: donotreply at wordpress.com
Subject: [New post] Binary, hexadecimal, and colors
WordPress.com
New post on FAMLI/OLPC-SoCal/AudubonMSBloggers
Binary, hexadecimal, and colors
by abekazemzadeh
Today we had what felt like a very successful class. We've been working on 3D topics, so I started by explaining about different 3D technology like anaglyph, polarized filters, the processing by the eyes and brain (3D with only one eye). We used the XOs to take some stereographic images and started trying to convert these to anaglyph (red/blue) 3D images. We took a theoretical break this time to talk about how pictures are represented in computer files. First, I had the kids define what a picture is. The definition they came up with is that a picture is a organization of colors into shapes to represent something so it can be saved for later. Then I asked the kids how the computer knows what colors are. The kids were familiar with mixing paints, so I explained the difference between mixing colored pigments and m
ixing
colored light. Then I had the kid figure out how colors could be specified as numbers. They seemed to understand how colors could be specified as numerical amounts of basic colors (read, green, and blue). But then, I tried to challenge them a bit more by asking how they can represent numbers in terms of 1's and 0's. This is the part that kind of surprised me how well they picked it up. Even one of the kids that had trouble with fractions in school even seemed to get it (maybe we should start kids out with number theory instead of fractions and multiplication tables--I hated multiplication tables when I was a kid). To get them started, I used the old joke about there being 10 kinds of people in the world, those that understand binary, and those that done (10 in binary is 2 in decimal). Part of what was easy for them is that it was just enumerating binary and then showing them the same thing for hexadecimal, only up to 17. Then I had them google "hexadecimal col
or" and
they found the familiar triplet of 2 digit hexadecimal color codes. I had them google it because I don't like giving away the answer without doing some work on their part. To make sure they got it, I made them tell me which of the #123456 digits in the color code represents red, green, and blue (actually it's pretty easy that 12 are red, 34 are green, and 56 are blue--the same order one would expect--but having them compare the colors in the palette with the numerical code was a kind of hands on thing that made them see how the colors can mix). I got into a slightly more advanced topic, that each color scale has 256 (0-255) values, but only some people got the fact that FF (hex) == 255 (decimal).
decimal to binary to hexadecimal conversion is easy if you go step-by-step, just adding one to the previous number.
Color codes and the color palette: connecting the dots/pixels :-)
abekazemzadeh | November 3, 2011 at 8:17 PM | Tags: binary, Colors, hexadecimal
| Categories: Uncategorized
| URL: http://wp.me/p1unzJ-1w
Comment
See all comments
Unsubscribe or change your email settings at Manage Subscriptions.
Trouble clicking? Copy and paste this URL into your browser:
http://famliolpcsocalaudubonms.wordpress.com/2011/11/03/binary-hexadecimal-and-colors/
Thanks for flying with WordPress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/iaep/attachments/20111103/b796bb03/attachment.html>
More information about the IAEP
mailing list