POV-Ray : Newsgroups : povray.binaries.images : Devil's RollerCoaster : Re: Devil's RollerCoaster Server Time
1 Apr 2025 16:34:00 EDT (-0400)
  Re: Devil's RollerCoaster  
From: kurtz le pirate
Date: 22 Mar 2025 13:12:07
Message: <67deef67$1@news.povray.org>
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


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.