practice

by anishapoudel
See Code Download Embed
My code is imitating paint from a can dripping down from a ceiling. 

First, I wanted the "can" (sprite) to cross over roughly 14 times. 

I wanted the can to not leave the bounds of the "canvas" (stage). However, I wanted the paint to drizzle in the middle of the canvas. 


Code:
I started having the paint move in one direction starting from left to right and to right to left using the turn 180 degrees command
Next the one direction paint block does the following:
Keeps the paint in the horizontal bounds of the canvas and nearly the save vertical point. 
Next for every color in the color paletter, the mini block occur.
In this block, the size is anywhere between 10 and 22. Spots are created and pen is lifted for 5 units to create dripping effect. This process is repeated for the other direction

Created February 6, 2023

Last updated February 20, 2023

Published February 20, 2023