This is a simple reactive sketch using Tangle.js. Drag the values below to alter the running sketch and sketch code.

The rectangle above has a width and height of pixels. The sketch is running at fps.

      float d = 1.0;

      void setup() {
        size(640, 360);
        frameRate();
        noStroke();
        fill(255);
        rectMode(CENTER);
      }

      void draw() {
        background(51);
        translate(width/2, height/2);
        d += 0.01;
        rotate(d);
        rect(0, 0, , );
      }