Mercurial > hg > weather-synthesis-prototyping
diff June/processingD1/processingD1.pde @ 117:3f2588a64b25
merged
author | Roderick Selfridge <r.selfridge@qmul.ac.uk> |
---|---|
date | Sat, 01 Aug 2015 05:48:03 +0100 |
parents | 819d71fa7fac |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/June/processingD1/processingD1.pde Sat Aug 01 05:48:03 2015 +0100 @@ -0,0 +1,23 @@ +// Example 05-02 from "Getting Started with Processing" +// by Reas & Fry. O'Reilly / Make 2010 + +int position; + +void setup() { + size(1420, 900); + background(128); + position = 0; +} + +void draw() { + background(128); + fill(0); // fill changes the color of the interior of the shape + noStroke(); // noStroke removes the outer line + + // Does position represent the horizontal or the vertical location? + ellipse(80.5, 100.5, 30, 30); + ellipse(1080.5, 150.5, 30, 30); + ellipse(620.5, 650.5, 30, 30); + +} +