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,16 @@
|
||||
// Example 06-04 from "Getting Started with Processing"
|
||||
// by Reas & Fry. O'Reilly / Make 2010
|
||||
|
||||
PImage img;
|
||||
|
||||
void setup() {
|
||||
size(480, 120);
|
||||
img = loadImage("clouds.gif");
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(255);
|
||||
image(img, 0, 0);
|
||||
image(img, 0, mouseY * -1);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 136 KiB |
Reference in New Issue
Block a user