top of page
Search

Assignment 3: A bouncing ball

  • Writer: kwan ching
    kwan ching
  • Sep 10, 2020
  • 1 min read

First, I started my assignment based on today's class. I drawn a ball, because it need to be moved around, I set up variable names and value to replace the position values, speed and color values at the same time. Also, I wanted the ball without stroke.


After finished the whole coding, I started to play around to see if I can make it more complicated. Then I decided to change the backgroud color once the ball hits the edge of the canvas. Later, I wanted the ball to change the size once hits the edge.

Therefore, I made two versions of bouncing ball. One is basic and the other is more changes while the ball bouncing around.



Basic

Advanced



 
 
 

Recent Posts

See All
Final Project

1,The book of answers https://editor.p5js.org/jun.cheng610/sketches/dSKbuLWls Put answers into TXT file and the source is the actual book...

 
 
 
Final project - in process

1, THE ANSWER, ask any questions that you are worried about, it will give you THE ANSWER. It's in the process and some issues need to be...

 
 
 

Comments


follow me
  • Twitter

Thanks for submitting!

IMG_5194.JPG
Jun Cheng
BTS big fan ARMY
major in visual art
"shining through the city
with a little funk and soul"
from dynamite by BTS

© 2023 by LOVE YOURSELF. Proudly created with Wix.com

bottom of page