function setup() {
  createCanvas(windowWidth, windowHeight);

  // init shape
  centerX = width / 2;
  centerY = height / 2;
  var angle = radians(360 / formResolution);
  for (var i = 0; i < formResolution; i++) {
    x.push(cos(angle * i) * initRadius);
    y.push(sin(angle * i) * initRadius);
  }

  stroke(0, 50);
  strokeWeight(0.75);
  background(255);
}
form mophing process by connected random agents

MOUSE
click               : start a new circe
position x/y        : direction of floating

KEYS
1-2                 : fill styles
f                   : freeze. loop on/off
Delete/Backspace    : clear display
s                   : save png