mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
moving getting started to the books subfolder
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Example 05-03 from "Getting Started with Processing"
|
||||
// by Reas & Fry. O'Reilly / Make 2010
|
||||
|
||||
int x = 280;
|
||||
int y = -100;
|
||||
int diameter = 380;
|
||||
|
||||
void setup() {
|
||||
size(480, 120);
|
||||
smooth();
|
||||
fill(102);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(204);
|
||||
ellipse(x, y, diameter, diameter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user