mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Example 06-08 from "Getting Started with Processing"
|
||||
// by Reas & Fry. O'Reilly / Make 2010
|
||||
|
||||
PFont font;
|
||||
String quote = "That’s one small step for man...";
|
||||
|
||||
void setup() {
|
||||
size(480, 120);
|
||||
font = loadFont("AndaleMono-24.vlw");
|
||||
textFont(font);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(102);
|
||||
text(quote, 26, 30, 240, 100);
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user