top of page

Customizable clusters

  • Writer: Wanyue
    Wanyue
  • Sep 28, 2018
  • 1 min read

It is cool and very simple. I created a function named drawCircle() to create a single cluster. A cluster appears on the position of the mouse.


function drawCircle(h, s, b) {

for (var i = 0; i < windowHeight; i += 5) {

rotate(frameCount *0.01);

stroke(h, s, b);

point(i, 0);

}

}


Try it yourself.





Comments


Copyright © Wanyue (Luna) Wang

  • Black LinkedIn Icon
  • Black Instagram Icon
  • github-mark
  • Black YouTube Icon
bottom of page