|
|
| GHOST HOUSE [ghostfield]
source code: BImage bg; void setup() { size(200,267); bg = loadImage("ghost1.jpg"); } int a; void loop() { background(bg); a = (a +100)%(width+32); stroke(26, 24, 0); line(5, a, width-30, a); line(135, a-20, width, a-32); line(20, a+20, width-30,a); line(100,a+30,width,a-30); line(0,a,width,a); line(150,a-100,width-100,a-100); } |
| Built with Processing |