mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
moving the OpenGL examples to the core
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
void setup() {
|
||||
size(400, 400, P3D);
|
||||
frame.setResizable(true);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(255, 0, 0);
|
||||
ellipse(width/2, height/2, 100, 50);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user