To make this, I experimented with the basic shapes that we learnt how to code in the tutorial like ellipse and triangle, which was relatively straightforward. However, for the background I wanted to created this checkerboard pattern and this ended up requiring 3 nested for loops to control the x coordinate, y coordinate, and what colour each square would be. I also ended up having to use a Boolean operator to create this alternating colour pattern.
- Maha
Comments
Post a Comment