craiyon logo

A large, glowing blue and purple crystalline fractal flower against a turquoise and orange sky, surrounded by smaller fractal structures.

A large, glowing blue and purple crystalline fractal flower against a turquoise and orange sky, surrounded by smaller fractal structures.

Render: a Mandelbulb: \( z=\text{chp}(p)p - p \), \( \text{dr}=1.0 \); loop: \( r=\text{length}(z) \), \( \theta=\text{atan}(z.x,z.y) \), \( \phi=\text{asin}(z.z/r)+\text{time}0.2 \), \( \text{dr}=\text{pow}(r,\text{POWER}-1)\text{drPOWER}+1 \), \( r=\text{pow}(r,\text{POWER}) \), \( \theta=\text{POWER}/\text{PHI} \), \( \phi=\text{POWER}/\text{PHI} \), \( z=r\text{vec3}(\tan(\text{shp}(\sin(\theta)\sin(\phi)))\text{PHI}, \text{chp}(\cos(\theta)\sin(\phi)), \cos(\phi))+p \), \( p=\text{reflect}(p,z) \); \( \text{distance}=0.75\log(r)r/\text{dr} \). \( \text{df}(p)=\text{shp}(\text{mandelBulb}(p/2.0)2.0) \) after \( \text{g\_rot}=\text{rot\_x}(((1.221\text{time}+\pi)/\text{tau})) \). Material: \( \text{mat}=\text{vec3}(0.8,0.5,1.05) \), \( \text{fresnel fre}=(1+\text{dot}(rd,sn))^2 \) mixed \( 0.1-1.0 \), \( \text{diffuse}=\text{dif}^2(1-\text{mat}.x) \) with \( \text{dif}=\max(\text{dot}(ld,sn),0) \), \( ld=\text{normalize}((0,10,0)-sp) \), \( \text{reflection}=r\text{skymat}.y\text{freedge} \) with \( \text{edge}=\text{smoothstep}(1,0.9,\text{fre}) \), colors: \( \text{skyCol}=\text{HSV}(0.6,0.86,1) \), \( \text{glowCol}=\text{HSV}(0.065,0.8,6) \), \( \text{diffuseCol}=\text{HSV}(0.6,0.85,1) \), \( \text{beer}=-\text{HSV}(0.05,0.95,2.0) \), \( \text{absorption ragg}=\exp(-(st+0.1)\text{beer}) \). Sky: planes \( y=4/-6 \), box/pp patterns, \( \text{col}+=4\text{skyColrd}.y^2\text{smoothstep}(-0.25,12.21,db)+4.8\text{skyColexp}(-0.5\max(db,0)) \), \( See more