For my final, I want to create an art piece. Personally, I am a huge fan of the 80’s and love anything that represents the 80’s. I thought for my art piece I would try and create my own 80’s “carpet.” When I mean carpet I mean the carpet you see at an arcade, a skating rink or a mall. The carpet usually has fun colors and patterns where I think it would be super fun to recreate. Stranger things season two inspired this code project.

The name for my project is” “flashback to the 80's”

--

--

My pong inspired game: Capture the jellyfish

  • I used basic draw functions to draw Spongebob but then I added a complex function to draw the jellyfish
  • I used multiple variables to define aspects of the game, like the ball diameter, paddles, etc.
  • I used multiple if statements and loops to create barriers or certain aspects
  • I created my own paddle and ai paddle for pong using variables if statements, loops, and conditionals
  • In my code, I explained what each line means

--

--

  • I used mouseIsPressed to trigger the changing of the dots. It changes from a lighter color to a darker color.
  • I made a grid of circles using nested for loops. I made two different nested for loops to create both rows.
  • I made a gradient with a for loop to create an aesthetic background for my artwork.
  • I made a ball bounce inside the screen.
  • I also made the ball make a Lissajous pattern.

--

--

Map legend is in code

I decided to make an animated map of a city. I used the cos function to create my cars and ferris wheel. The difficult part was figuring out the ferris wheel because I had to find the radius, where to put my circle, and how to code it.

--

--