Scratch Project #2: painting
- Due No Due Date
- Points 20
- Submitting a file upload
- File Types sb2
Step 1: plan
What do you want to make? Draw it out on paper or a whiteboard, or find an inspiration picture. Well thought-out and executed projects will receive higher grades than (for example) random circles.
We will be using a physical brush and watercolor paint so keep that in mind as you plan!
Step 2: code
To start the project, and if you need to start over:
- download this Scratch project: Watercolor Bot Scratch blocks.sb2 Download Watercolor Bot Scratch blocks.sb2,
- upload the file to your scratch.mit.edu
Links to an external site. account
in Scratch: create a new project → go to "File" in the menu → choose "Upload from your computer" → find Watercolor Bot Scratch blocks.sb2
- RENAME your project so that the filename is the TITLE of your artwork.
Create your design in Scratch using the purple blocks under "More Blocks".
Your painting code should start with the "When space key pressed" block.
Make sure your painting code has the "start" block at the beginning and the "end" block at the end.
You can use the Control block "repeat". This is probably the only non-purple block you will need.
By the way... for the "turn" blocks, CW = clockwise ↷ and CCW = counter-clockwise ↶ .
If you are getting the same paint color several times, consider using the gray "get color #" block for the 2nd, 3rd, etc, times getting paint. This helps prevent soggy paint.
You can use the gray "get water" block to make interesting effects by getting the paper wet before painting with color, or to wet the brush if using a lot of the same color.
DO NOT use Motion, Looks, and Pen blocks - they won't control the paintbrush!
Step 3: submit, paint, code, repeat
When you are happy with your design in Scratch,
download your project (in Scratch: go to "File" in the menu → choose "Download to your computer" → notice where it is saving)
and submit it to this assignment to be tested on the Watercolor Bot. Last year, only one student had their painting turn out well the first time, so expect that part of the process is to fix your code and try again (no penalty!). You are welcome to test your code as many times as it takes to get it perfect.
Once your design paints how you want it to, I will keep a copy to post in the room. You also have the option to paint an extra copy to keep.