Files
FreeJ/scripts/processing/topics/saveoneimage.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

17 lines
178 B
Plaintext

void setup()
{
size(100, 100);
}
void draw()
{
background(204);
line(0, 0, mouseX, height);
line(width, 0, 0, mouseY);
}
void mousePressed()
{
save("line.tif");
}