Painting with NetLogo
That's what the visual display looks like
whenever the setup/clear button is pressed. 1. You can paint with patches: use the moue to click on any of the colors at the top and then paint by coloring the patches below the mouse when the mouse button is pressed. 2. You can paint with a turtle (the turtle does the drawing) with pen-size equal to the width slider when the mouse button is pressed. 3. You can erase both patches and drawing simultaneously with the Eraser. |
Here's the code, with the good stuff missing
(the semi-colon starts a comment on a line)
|