mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
removed non-properly documented shader examples
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
/**
|
||||
* Nebula
|
||||
*/
|
||||
|
||||
PShader nebula;
|
||||
|
||||
void setup() {
|
||||
size(640, 360, P2D);
|
||||
noStroke();
|
||||
|
||||
nebula = loadShader("nebula.glsl");
|
||||
nebula.set("resolution", float(width), float(height));
|
||||
}
|
||||
|
||||
void draw() {
|
||||
nebula.set("time", millis() / 500.0);
|
||||
shader(nebula);
|
||||
fill(0);
|
||||
rect(0, 0, width, height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user