mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Getting keyword color up and running
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
/**
|
||||
* Nebula
|
||||
*/
|
||||
|
||||
PShader nebula;
|
||||
|
||||
void setup() {
|
||||
size(320, 240, P3D);
|
||||
size(640, 360, P2D);
|
||||
noStroke();
|
||||
|
||||
nebula = loadShader("nebula.glsl");
|
||||
@@ -14,4 +18,4 @@ void draw() {
|
||||
fill(0);
|
||||
rect(0, 0, width, height);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user