top of page
Search
  • jpanagak

For Loop HW

For my For Loop HW, I decided to stick with the code I created in class to make a moveable, trippy design. I kept the normal code, but replaced the ellipse with triangles. When you start off with just one triangle on the screen, it is just rotating from left to right until it makes contact with the vertical barriers. as you click, another triangle is added, also rotating, but at different speeds. here is the outcome.











To update it a little, and make it annoying to look at, I added a white background. I also added a checkerboard pattern on top of the moving shapes.




This was my final code.





6 views0 comments

Recent Posts

See All

Final Project Idea

I have not started coding out my final project, but I have a brief description of what I want the outcome to be. I want to create a game with the drawing code. Basically, your mouse is your character.

Post: Blog2_Post
bottom of page