mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
added large stage example
This commit is contained in:
13
java/libraries/lwjgl/examples/LargeStage/LargeStage.pde
Normal file
13
java/libraries/lwjgl/examples/LargeStage/LargeStage.pde
Normal file
@@ -0,0 +1,13 @@
|
||||
import processing.lwjgl.*;
|
||||
|
||||
void setup() {
|
||||
size(4000, 2000, LWJGL.P3D);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(255, 0, 0);
|
||||
line(0, 0, width, height);
|
||||
line(0, height, width, 0);
|
||||
println(mouseX, mouseY);
|
||||
ellipse(mouseX, mouseY, 50, 50);
|
||||
}
|
||||
Reference in New Issue
Block a user