Color flocking, using flocking algorithm for RGB
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
libraries
README.md
_config.yml
block.js
index.html
sketch.js

README.md

Color Flocking

Based on Reynolds' flocking algorithm, but it changes RGB instead of x,y,z positions.

Click on a square to change all other squares to that color.

Hit the 'R' key to randomize all the colors.

Sliders

  1. Separation
  2. Alignment
  3. Cohesion