黒木玄 Gen Kuroki
- いいね数 389,756/311,170
- フォロー 995 フォロワー 14,556 ツイート 293,980
- 現在地 (^-^)/
- Web https://genkuroki.github.io/documents/
- 自己紹介 私については https://twilog.org/genkuroki と https://genkuroki.github.io と https://github.com/genkuroki と https://github.com/genkuroki/public を見て下さい。
2021年11月19日(金)

float i,e,a,l,y;vec3 p,q,d=vec3((FC.xy-.5*r)/r.y,-1);for(d.xz*=rotate2D(t*.2);i++<2e2;e=max(min(++y,-e),y-3.)){i>1e2?l=log(e+=1e-4)/1e2,d/=d,o:o+=exp(-e*1e3)/2e2;p=q+=d*e*.7;p++;y=p.y;for(a=3.;a>.04;a*=.6)p.xz*=rotate2D(5.),p=abs(p)-a,e=min(e,max(p.x,(max(p.y,p.z))));}o+=l; pic.twitter.com/Di62BkhnWi
タグ:
posted at 11:40:06
2021年03月14日(日)

Distance estimated Julia using matrix math.
C is a complex "constructor"
M is "modulo_squared"
Based on iq's article: www.iquilezles.org/www/articles/d...
and shader: www.shadertoy.com/view/Mss3R8
タグ:
posted at 08:08:06

bit.ly/3lcmMnH #つぶやきGLSL
#define C(x,y)mat2(x,-y,y,x)
#define M(m)dot(m[0],m[0])
vec2 p=(FC.xy*2.-r)/r.y;
mat2 z=C(p.x,p.y),c=C(.1,.64)+rotate2D(t)*.01,d=C(1,0);
for(int i;i++<99&&M(z)<1e3;){
d=2.*z*d;
z=z*z+c;
}
o+=2e2*sqrt(M(z)/M(d))*log(M(z)); pic.twitter.com/2PdZSijBWD
posted at 08:05:03