week 9: loops
- Rachelle Vassoler
- Nov 2, 2022
- 1 min read
For this assignment, we were asked to experiment with different loop functions. We either used "for loops" or "while loops"
we were introduced to new code and used them in our design
while (){ loop();
for (){ noLoop();
I decided to use the loop function to create a grid like background to go with the design I had in mind. I started with writing the code for the grid effect I wanted. Then, I drew some shapes on top that either had solid color, or changed based on the placement of the mouse.
my code:
my project:



Comments