top of page
Search

For Loop HW

  • jpanagak
  • Nov 19, 2019
  • 1 min read

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.





 
 
 

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...

 
 
 

コメント


Post: Blog2_Post

©2019 by James Panagakos. Proudly created with Wix.com

  • Facebook
  • Twitter
  • LinkedIn
bottom of page