top of page

ICM Oct.25th: Week 6 Generative Object

  • lr2855
  • Oct 25, 2021
  • 1 min read

My idea started from the bouncing ball practice. I wanted to go further into that direction.


I started with creating two arrays, that two components are generative.




I set the lines to float across the canvas.


The circles have three functions: move, draw, and dragged.


Here is the initial canvas.


Then in the set up:


I set the circles and the line to start at randomly position I set. Circles start at any position on the canvas, and lines start at the 1/3 of width and height (I don't want the lines to be long).

Then I give them a range of color, a range of opacity, and a range of velocity.


Here is the draw function.

The interactive I add into this project is that, when the mouse touches the circles, the circles turn into a bright yellow color and still remain its route.




Here is my recorded video:

https://static.wixstatic.com/media/006e2b_a2d2021dd1e14b099f1700aa1722a28b~mv2.png

Comments


Post: Blog2 Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by Luhan Rong ITP Life. Proudly created with Wix.com

bottom of page