Mercurial > hg > weather-synthesis-prototyping
comparison 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 |
comparison
equal
deleted
inserted
replaced
116:195db2866d0a | 117:3f2588a64b25 |
---|---|
1 // Example 05-02 from "Getting Started with Processing" | |
2 // by Reas & Fry. O'Reilly / Make 2010 | |
3 | |
4 int position; | |
5 | |
6 void setup() { | |
7 size(1420, 900); | |
8 background(128); | |
9 position = 0; | |
10 } | |
11 | |
12 void draw() { | |
13 background(128); | |
14 fill(0); // fill changes the color of the interior of the shape | |
15 noStroke(); // noStroke removes the outer line | |
16 | |
17 // Does position represent the horizontal or the vertical location? | |
18 ellipse(80.5, 100.5, 30, 30); | |
19 ellipse(1080.5, 150.5, 30, 30); | |
20 ellipse(620.5, 650.5, 30, 30); | |
21 | |
22 } | |
23 |