/ Published in: Processing
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
float a = 100; void setup() { size(640, 200); stroke(255); } void draw() { background(51); a = a - 0.5; if (a < 0) { a = height; } line(0, a, width, a); }