 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 22/03/2025 20:12, kurtz le pirate wrote:
> The code is an isosurface fond on MathMod software.
> Translated in SDL :
> ...
>
> Good luck
Thanks, I will try it.
--
YB
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 22/03/2025 20:12, kurtz le pirate wrote:
> The code is an isosurface fond on MathMod software.
> Translated in SDL :
> ..
> Good luck
I've rendered it ...
Sorry, but I mean fractal, found on the site, which image was attached.
--
YB
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
yesbird <sya### [at] gmail com> wrote:
> On 21/03/2025 02:04, Droj wrote:
> > ...
> > Comments are welcome
> >
> > Droj
> > https://droj.net/
> 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 :).
Yikes! That looks like a mutant tardigrade agglomerate from hell!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
yesbird <sya### [at] gmail com> wrote:
> On 21/03/2025 02:04, Droj wrote:
> > ...
> > Comments are welcome
> >
> > Droj
> > https://droj.net/
> 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 :).
> --
> YB
Hi yesbird,
thanks for you comment.
Sorry, but the image you posted was made with a little program called Quat 1.11
I found years ago (2002).
So no code available.
Droj
I agree to what you said about Mandelbulbs :))
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Droj" <803### [at] droj de> wrote:
> ...
> Infinity Fabric sounded a bit 'sober' so I called it Devil's RollerCoaster.
> ...
> Comments are welcome
not possible to tell from the image, but could the curve actually be "travelled"
like a rollercoaster ? in which case my comment is: please make an animation,
seen from a visitor "riding the car" perspective.
in another reply you wrote:
> ... that's the code but yours is more elegant than mine.
I hope you will not let such thoughts stop you from publishing some of your
L-System stuff, so I too can "draw" Koch curves </grin>.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
Hi jr,
>
> not possible to tell from the image, but could the curve actually be "travelled"
> like a rollercoaster ? in which case my comment is: please make an animation,
> seen from a visitor "riding the car" perspective.
>
Gee, making an animation using this object is far beyond my humble capabilities.
You saw the code kurtz le pirate published - I was just happy that my version of
code worked properly.
> in another reply you wrote:
> > ... that's the code but yours is more elegant than mine.
>
> I hope you will not let such thoughts stop you from publishing some of your
> L-System stuff, so I too can "draw" Koch curves </grin>.
Sure will do. If you have any special requests let me know.
regards
Droj
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> not possible to tell from the image, but could the curve actually be "travelled"
> like a rollercoaster ? in which case my comment is: please make an animation,
> seen from a visitor "riding the car" perspective.
Looks very much like a 600-cell
https://www.dimensions-math.org/Dim_E.htm
https://en.wikipedia.org/wiki/Regular_4-polytope#Regular_convex_4-polytopes
You'd need some way to convert the implicit formula describing the surface to
some sort of path, probably a set of parametric equations, or if there exist
discrete vertices - a way to order them so that a path could be calculated. I'd
probably try using a maze-solving algorithm of some sort.
You might try posting the source for that shape somewhere like Stack Exchange,
Stack Overflow, other math forums, or find someone who works in the 4D shape
field who would find such a challenge an enjoyable puzzle.
Heck - ask Jos or Etienne who did the Dimensions movie.
- BW
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
And of course, I forgot to mention Stephane Laurent, who codes in multiple
languages _including POV-Ray SDL_ and is a complete mathematical maniac.
https://www.r-bloggers.com/2020/02/drawing-a-stereographic-duoprism/
We need to bribe this man to be part of the dev team. :D
- BW
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |