703
edits
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | == Gestaltungsprogramm 2 == | ||
<source lang="Java">Segmente Objekt1,Objekt2,Objekt3 | <source lang="Java" highlight="26">Segmente Objekt1,Objekt2,Objekt3; | ||
void setup() { | void setup() { | ||
Line 22: | Line 21: | ||
Objekt1.g = 90; Objekt2.g = 90; Objekt3.g = 90; // Richtung nach oben | Objekt1.g = 90; Objekt2.g = 90; Objekt3.g = 90; // Richtung nach oben | ||
Objekt1.h = | Objekt1.h = 50; Objekt2.h = 0; Objekt3.h = 220; | ||
Objekt1.s = 100; Objekt2.s = 100; Objekt3.s = 100; | Objekt1.s = 100; Objekt2.s = 100; Objekt3.s = 100; | ||
Objekt1.b = 100; Objekt2.b = 100; Objekt3.b = 100; | Objekt1.b = 100; Objekt2.b = 100; Objekt3.b = 100; | ||
Line 159: | Line 158: | ||
== Segmente == | == Segmente == | ||
<source lang="Java">class Segmente { | <source lang="Java" highlight="21">class Segmente { | ||
float x; // X-Position | float x; // X-Position |
edits