int a = 250; int b = 50; int c = 50; int d = 50;
void setup() { size(500,500); }
void draw() {
for (int x = 0; x < 3600;x++) { float y = a + b*sin(c*x + d) ; println(y); ellipse(x,y,5,5); } }