Title: Frog and bunny-shaped quaternion Julia sets Post by: tkim on July 30, 2015, 04:13:19 AM Since there is so much discussion of the 3D Mandelbulb on this forum, I thought you might be interested in my recent paper, "Quaternion Julia Set Shape Optimization":
http://www.mat.ucsb.edu/~kim/JULIA/ It describes a method for finding quaternion Julia sets that approximate any arbitrary shape, including a bunny: (http://www.mat.ucsb.edu/~kim/JULIA/images/bunny_medium.png) a frog: (http://www.mat.ucsb.edu/~kim/JULIA/images/frog_medium.png) and a tooth: (http://www.mat.ucsb.edu/~kim/JULIA/images/tooth_medium.png) A video describing the whole process is here: https://youtu.be/uZVGw5ataP0 Finding these Julia sets seems possible, but unfortunately, not very easy. Source code is also available if you are interested: http://www.mat.ucsb.edu/~kim/JULIA/source.html It is firmly research code; not a full-featured application. Still, I hope somebody finds it useful. Title: Re: Frog and bunny-shaped quaternion Julia sets Post by: cKleinhuis on July 30, 2015, 11:50:08 AM way coool, hello and welcome to the forums
you can assume that we guys want to play with your algorithm ;) for now you cen elaborate some inner mechanics, are you using a massive hybrid to create this shape fitting formula ? after the shape search is finished what is the result ? a bunch of numbers that do not slow down the final rendering process? it looks like you do it in realtime, but hard to tell from a video Title: Re: Frog and bunny-shaped quaternion Julia sets Post by: kram1032 on July 30, 2015, 01:07:27 PM Really neat! Is this a 3D-extension of the algorithm a couple years back capable of making Julia-sets in any 2D shape or is this an entirely different approach?
Title: Re: Frog and bunny-shaped quaternion Julia sets Post by: tkim on July 31, 2015, 08:09:34 PM It's inspired by the analytic 2D solution from a few years ago, and uses a lot of the same formulas. But, that approach used a bunch of conformal theory that don't appear to generalize trivially to 4D (I asked), so I formulated a numerical approach.
The paper goes into gruesome detail on how this is all done. It is much, much slower than the usual quaternion Julia sets, because it doesn't use a quadratic polynomial map. Instead it uses a rational function with hundreds of roots, which is why it can fit things, but it then takes a long time to evaluate, e.g. an hour per frame. The video is a result of deploying the render to a cluster. Definitely not real-time. The GPU isn't as helpful as usual on this front either, because it needs to remember hundreds of root locations instead of just one "c" constant to add every time, so it runs out of registers quicker than usual. So, it looks like this is possible :D but not yet fast :sad1:. Title: Re: Frog and bunny-shaped quaternion Julia sets Post by: kram1032 on July 31, 2015, 08:51:50 PM Wait a second, since it's 4D but it (presumably) "only" fits roots in 3D, could you make it, like, fit another 1D object in the remaining dimension? Or, perhaps slightly more neat, two different 2D objects in perpendicular directions. Or else with some shoehorning / creativity, it might be possible to fit two 3D objects which happen to, like, share an outline in one dimension so you can have them overlap. Yeah, with these complex shapes I'm not surprised it's terribly slow. |