r@49: // Example 05-02 from "Getting Started with Processing" r@49: // by Reas & Fry. O'Reilly / Make 2010 r@49: r@49: int position; r@49: r@49: void setup() { r@49: size(1420, 900); r@49: background(128); r@49: position = 0; r@49: } r@49: r@49: void draw() { r@49: background(128); r@49: fill(0); // fill changes the color of the interior of the shape r@49: noStroke(); // noStroke removes the outer line r@49: r@49: // Does position represent the horizontal or the vertical location? r@49: ellipse(80.5, 100.5, 30, 30); r@49: ellipse(1080.5, 150.5, 30, 30); r@49: ellipse(620.5, 650.5, 30, 30); r@49: r@49: } r@49: