initial commit

This commit is contained in:
2026-08-26 17:32:51 +02:00
commit 527e79cef3
22 changed files with 2853 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef INC_RAND
#define INC_RAND
float rand(float seed){
float v=pow(abs(seed),6./7.);
v*=sin(v)+1.;
return fract(v);
}
float rand(vec2 n){
return rand(n.x * 1234 + n.y * 9876);
}
#endif