Skip to content

Simple grid filled with one base color, fade its brightness. Using p5js.

License

Notifications You must be signed in to change notification settings

osadsanu/colorGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Grid!

tags: git Creative Code p5js

Simple grid filled with one base color, fade its brightness. Using p5js. View it at: http://osadsanu.github.io/colorGrid/

Check the code on sketch.js file.

Modify parameters

If you wish to use that experiment only modify this line #54:

    grid.push(new Box(x*size,y*size,size,209,63,random(40,50),random(-1.5,1.5)));

The function signature is:

    Box (x,y,size,H,S,B,vel)

Stands for:

  • X: x position.
  • Y: y position.
  • Size: the size of each box.
  • H: Hue (remember HSB colors).
  • S: Saturation.
  • B: Brightness.
  • Vel: the speed of change for each box.

About

Simple grid filled with one base color, fade its brightness. Using p5js.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published