top of page
Search

Assignment 6

  • ncampanelli0
  • Oct 22, 2019
  • 1 min read

Making use of random and for loops I made a colored background by drawing randomly colored lines, i made them slanted by applying a -1500 to the first line input and making sure the entire 800 by 800 pixel canvas is filled by making 5000 lines (set in the for loop). I also have 10 circles drawn with randomly decided colors. I have the program regenerate the image every step and in order to control the speed I set the frame rate to 6.





 
 
 

Recent Posts

See All
Final assignment (trivia project)

How I came to this idea for a project was simple. Back when I was in high school I made a trivia style game. This game was written for...

 
 
 
Assignment 9 (drawing program)

I made a drawing program with multiple colors that can be selected (with black being used as the eraser color as the background is...

 
 
 
Assignment 8 (bug fixes)

change log: 1. Revised collision for ball to bounce off paddles properly (instead of requiring perfect pixel alignment with a sweet spot,...

 
 
 

Comments


©2019 by creative coding art and games. Proudly created with Wix.com

bottom of page