Mary: remove the unused blocks and then hide everything except the five they will be using: draw picture
, rgb pixel
, draw pixel
, paint color from pixel
, and paint color
. --MF, 9/9/21 (Need to figure out how to hide blocks. --MF, 9/12/21)
Still true? --MF, 11/19/21
I've just put this page through a readability test (the free one I chose online actually applies 7 different standard tests of readability) and the grade-levels varied from 9th grade to 12th grade. Wall Street Journal is generally around 11th or 12th grade. I know that the readability of our instructions has been an issue in BJC CSP. --PG
Teacher idea and bug. --MF, 2/20/23
From Jadga: "2 of the costumes (shark and dog with tongue) didn’t work. They contain empty images." --MF, 7/24/23
The screen you're looking at is an array of thousands, if not millions, of pixels. Each pixel shows a specific amount of red, green, and blue light. By combining different amounts of just those three colors, a pixel can show any of the various colors on a screen.
Here's what a white pixel looks like up close:
A pixel (short for picture element) is the smallest programmable unit of color on a screen.
When a computer draws a picture, it's actually drawing it pixel by pixel, activating the appropriate red, green, and blue components of each pixel in the screen to produce the picture.
The project has a single command block:
Resolution is the level of detail in an image.
The draw picture
block takes two inputs, the name of a picture and a resolution (the number of pixels wide that the resulting image will be). Both inputs are dropdown menus, so you can click them to select a different value.
Eventually, with enough pixels, the picture should become quite clear. Here's an example:
These aren't really pixels, because even the block's highest resolution, 128, is much lower than your screen's actual resolution. These are models of pixels created to show you how pixels combine to make images. Each of these "fake pixels" can only be at most one third as bright as a real pixel because each part of one of these fake pixels is displayed on your screen by real pixels that each only include a third (one color) of that real pixel's total possible brightness.