Click to reopen instructions.

If you did the Dots project in Lab 3, you can start this one from your own Dots project: the first time you open this page it asks. You can change your mind later with the Starting point… button.

The starter project is the same as the one Dots started with. Like that project it contains a hidden pen sprite with the dot-picture script from the lab: it forever jumps to a random position, uses an if/else on the Boolean expression x position < y position to pick purple or orange, and draws a dot with the custom make a point block. There is also a hidden apple sprite (press s to show it, h to hide it) and a spare expression involving distance to apple sitting in the scripting area.

Run the script and watch the picture it paints, then experiment: swap different Boolean expressions into the if block — comparisons of x position and y position, combinations with and and or, distance to the apple — and see if you can invent expressions that produce the target pictures on the lab page.

Your work autosaves (and you can use the Save button); earlier versions are available from the Revisions dropdown.

More dots

Revisions: