// Conrol 2 // Created by Burak Arikan based on Martin Wattenberg's code for Level Sets // July 14, 2005 color p; float posX; float posY; float timeFunction; void setup() { size(400,300, P3D); colorMode(HSB,100); // these are basicly for sketching with parameters posX = 196; // constrain(mouseX, 1, width); posY = 150; //constrain(mouseY, 1, height); } void draw() { float h=200; float level = (float) 0.2*(1.8 - posY / h); loadPixels(); for (float x=0; x