|
 |
kurtz le pirate <kur### [at] free fr> wrote:
> On 22/03/2025 12:12, yesbird wrote:
>
> > Looks good enough - I like the idea of strange geometric phenomena in
> > space. Also going through your site I found this image. Could you share
> > the code, please - I want to animate it. Mandelbulbs are too frightening
> > for animation :).
>
> The code is an isosurface fond on MathMod software.
> Translated in SDL :
>
>
> #declare R = function { k*(x/(x*x+y*y+z*z)) }
>
> #declare PSkeletalGraph = function {
> cos(x)+cos(y)+cos(z)+(51/100)*(cos(x)*cos(y)+cos(y)*cos(z)+cos(z)*cos(x))+(147/100)
> }
>
> #declare InvertPSkeletalGraph = function {
> PSkeletalGraph(R(x,y,z),R(y,x,z),R(z,y,x))
> }
>
> // --- Isosurface
> #declare Fxyz = function (x,y,z) { InvertPSkeletalGraph(x,y,z) }
>
> isosurface {
> function { Fxyz(x,y,z) }
> max_gradient 800 // 3500
> contained_by { box { -L, +L } }
> pigment { Yellow }
> }
>
>
> Good luck
>
> --
> kurtz le pirate
> compagnie de la banquise
Hi klp,
yeah, that's the code but yours is more elegant than mine.
Droj
Post a reply to this message
|
 |