Category Archives: processing.js

Processing JS Test

float radius = 50.0; int X, Y; int nX, nY; int delay = 16; void setup(){ size( 200, 200 ); strokeWeight( 10 ); frameRate( 15 ); X = width / 2; Y = width / 2; nX = X; nY = Y; } void draw(){ radius = radius + sin( frameCount / 4 ); X+=(nX-X)/delay; [...]
Posted in processing.js | Comments closed