mirror of
https://github.com/processing/processing4.git
synced 2026-02-21 22:35:36 +01:00
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Example 04-09 from "Getting Started with Processing"
|
||||
// by Reas & Fry. O'Reilly / Make 2010
|
||||
|
||||
size(480, 120);
|
||||
smooth();
|
||||
strokeWeight(2);
|
||||
for (int i = 20; i < 400; i += 20) {
|
||||
line(i, 0, i + i/2, 80);
|
||||
line(i + i/2, 80, i*1.2, 120);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user