Files
FreeJ/scripts/processing/topics/linear.pde
Jaromil ae7b1ad056 progresses on processing script
processing-js 0.4 has been merged in some relevant parts
basic and topic scripts added for test
color handling fixed, more scripts show up now
2010-02-12 18:36:54 +01:00

19 lines
196 B
Plaintext

float a = 100;
void setup()
{
size(200, 200);
stroke(255);
frameRate(30);
}
void draw()
{
background(51);
a = a - 1;
if (a < 0) {
a = height;
}
line(0, a, width, a);
}