3 ms·
Building up a body with a few hundred lines of GLSL is one thing, but constructing an orgy with just 11 is something else entirely. I wonder what the Komogloro
by dumbo-octopus 3y ago
Building up a body with a few hundred lines of GLSL is one thing, but constructing an orgy with just 11 is something else entirely.
I wonder what the Komoglorov complexity of "NSFW GLSL Content" is.
float orgy(vec2 p) {
float pl=0., expsmo=0.;
float t=sin(time*8.);
float a=-.35+t*.02;
p*=mat2(cos(a),sin(a),-sin(a),cos(a));
p=p*.07+vec2(.728,-.565)+t*.017+vec2(0.,t*.014);
for (int i=0; i<10; i++) {
p.x=abs(p.x);
p=p*2.+vec2(-2.,.85)-t*.04;
p/=min(dot(p,p),1.06);
float l=length(p*p);
expsmo+=exp(-1.2/abs(l-pl));
pl=l;
}
return expsmo*1.4;
}
https://www.glslsandbox.com/e#108133.0 https://www.glslsandbox.com/e#108133.0
- isatty 3y agoYeah if you’re making an orgy with shaders they should just let it stay up out of pure respect. Also warning for the future reader: the link in the parent comment is NSFW.
- boywitharupee 3y ago> what the Komoglorov complexity of "NSFW GLSL Content" is can you explain what you mean by above?
- dumbo-octopus 3y agoThe smallest GLSL program that generates content generally regarded as NSFW. It's among the more interesting of concepts in computer science: https://en.wikipedia.org/wiki/Kolmogorov_complexity https://en.wikipedia.org/wiki/Kolmogorov_complexity Though it probably greatly benefits from a good lecturer if you do not have the background... https://people.csail.mit.edu/rrw/6.045-2020/ https://people.csail.mit.edu/rrw/6.045-2020/