mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-05 12:39:15 +01:00
processing-js 0.4 has been merged in some relevant parts basic and topic scripts added for test color handling fixed, more scripts show up now
36 lines
538 B
Plaintext
36 lines
538 B
Plaintext
size(200, 200);
|
|
background(0);
|
|
noFill();
|
|
|
|
stroke(102);
|
|
beginShape();
|
|
curveVertex(168, 182);
|
|
curveVertex(168, 182);
|
|
curveVertex(136, 38);
|
|
curveVertex(42, 34);
|
|
curveVertex(64, 200);
|
|
curveVertex(64, 200);
|
|
endShape();
|
|
|
|
stroke(51);
|
|
beginShape(LINES);
|
|
vertex(60, 40);
|
|
vertex(160, 10);
|
|
vertex(170, 150);
|
|
vertex(60, 150);
|
|
endShape();
|
|
|
|
stroke(126);
|
|
beginShape();
|
|
vertex(60, 40);
|
|
bezierVertex(160, 10, 170, 150, 60, 150);
|
|
endShape();
|
|
|
|
stroke(255);
|
|
beginShape(POINTS);
|
|
vertex(60, 40);
|
|
vertex(160, 10);
|
|
vertex(170, 150);
|
|
vertex(60, 150);
|
|
endShape();
|