add wallpaper :)

This commit is contained in:
Noa Aarts 2024-03-02 00:25:38 +01:00
parent 4bfe0b08b7
commit a996b8890e
9 changed files with 216 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#version 310 es
precision highp float;
uniform float time;
uniform vec2 resolution;
out vec4 stateColor;
float PHI = 1.61803398874989484820459; // Φ = Golden Ratio
float gold_noise(in vec2 xy, in float seed){
return fract(tan(distance(xy*PHI, xy)*seed)*xy.x);
}
void main( void ) {
vec2 position = gl_FragCoord.xy;
float color = gold_noise(position.xy, fract(time));
stateColor = vec4(step(0.3, color), 0,0,step(0.3, color));
}