mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Keywords changes, currently not entirely working
This commit is contained in:
@@ -17,7 +17,7 @@ class Polygon {
|
||||
|
||||
// Simple motion
|
||||
void move() {
|
||||
y+=speed;
|
||||
y += speed;
|
||||
if (y > height+100) {
|
||||
y = -100;
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@ void setup() {
|
||||
smooth();
|
||||
// Make a PShape
|
||||
PShape star = createShape();
|
||||
star.noStroke();
|
||||
star.fill(0,127);
|
||||
star.stroke(0);
|
||||
star.vertex(0, -50);
|
||||
star.vertex(14, -20);
|
||||
star.vertex(47, -15);
|
||||
|
||||
Reference in New Issue
Block a user