mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 00:59:40 +01:00
23 lines
387 B
Java
Executable File
23 lines
387 B
Java
Executable File
package test;
|
|
import processing.core.*;
|
|
|
|
/**
|
|
*
|
|
* @author Francis Li
|
|
*/
|
|
public class BeginShapeTest5 extends PMIDlet {
|
|
|
|
void setup() {
|
|
beginShape(TRIANGLES);
|
|
vertex(30, 75);
|
|
vertex(40, 20);
|
|
vertex(50, 75);
|
|
vertex(60, 20);
|
|
vertex(70, 75);
|
|
vertex(80, 20);
|
|
vertex(90, 75);
|
|
endShape();
|
|
}
|
|
|
|
}
|