by dumbo-octopus · 3y ago · 0 comments
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.0Also warning for the future reader: the link in the parent comment is NSFW.
can you explain what you mean by above?
It's among the more interesting of concepts in computer science: 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/