Logo by wmauzey - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 19, 2024, 08:07:05 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: 1 [2]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Collatz fractal  (Read 6374 times)
0 Members and 1 Guest are viewing this topic.
Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« Reply #15 on: May 04, 2016, 04:37:57 PM »

@Crist-JRoger
>> Is that possible to adapt this code for Fragmentarium?

Yes, should be adoptable. The vector arithmetic should be mostly self explaining, you can find the implementation here:
https://github.com/buddhi1980/mandelbulber2/blob/master/mandelbulber2/src/algebra.cpp
https://github.com/buddhi1980/mandelbulber2/blob/master/mandelbulber2/src/algebra.cpp

All changes made to mandelbulber for adding Collatz iteration you can find here:
https://github.com/buddhi1980/mandelbulber2/commit/50097e6added17a3af5faafee21948178f281349

most importantly are the changes to compute_fractal.cpp. If you start the fractal in fragmentarium you are probably best of starting with a menger sponge and adopting the ray marching function to something like the CollatzIteration.
ray marching step multiplier should be down to 0.1 or even lower. otherwise the fractal starts to disappear from the outside in.
Let me know, if you have any questions about that.

@mclarekin: cool image! its hard to get a low DE miss with this formular. also nice coloring.  grin
cheers!


Unfortunately I am not strong in math and programming, too. With difficulty turned out to make the Gnarl3D according to the DarkBeam's formula  grin

So, I tried to make orbittrap like MandelbrotOrbitTrap.frag. The code is horrible, I will try do do best.

Logged

stardust4ever
Fractal Bachius
*
Posts: 513



« Reply #16 on: May 05, 2016, 12:10:28 AM »

Unfortunately I am not strong in math and programming, too. With difficulty turned out to make the Gnarl3D according to the DarkBeam's formula  grin

So, I tried to make orbittrap like MandelbrotOrbitTrap.frag. The code is horrible, I will try do do best.
<Quoted Image Removed>

Looking good regardless.
 Repeating Zooming Self-Silimilar Thumb Up, by Craig

Trig functions are particularly nasty, and any arbitrary precision implementation will be slow as balls because calculating irrational functions to arbitrary precision levels is itself an iterative function. Every arbitrary calculation of said function will require multiple passes per calculation to generate an accurate result. Repeated every iteration, plodding on beyond the limits of float point maths would be extremely time consuming.

Still, a generalized fast floats implementation would have some interesting features to explore nonetheless. There is an entry for Collatz in the Ultrafractal public database if anybody owns a license and is still using it. Arbitrary precision libraries are snail slow in UF but at least it's something.
Logged
Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« Reply #17 on: May 05, 2016, 11:11:07 AM »

Looking good regardless.
Thank you!  smiley
I am fractal maker, not a programmer. So I try to change quality of visualization as much as I can without deeply knowledge of GLSL  wink
Logged

Pages: 1 [2]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
collatz conjecture graph in processing General Discussion ker2x 6 3038 Last post October 08, 2010, 10:31:20 AM
by jehovajah
Fractal in "Collatz iteration" Other types Khaotik 0 6509 Last post October 30, 2011, 06:41:13 AM
by Khaotik
exponential fractal, logarithm fractal, sinus fractal Mandelbrot & Julia Set hgjf2 7 24886 Last post January 20, 2017, 04:01:12 AM
by SamTiba
collatz fractal extension (new) Theories & Research M Benesi 2 444 Last post January 31, 2014, 05:22:39 PM
by s31415
MBox Collatz Hybrid Mandelbulber Gallery mclarekin 0 906 Last post April 13, 2016, 12:02:33 PM
by mclarekin

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.208 seconds with 28 queries. (Pretty URLs adds 0.008s, 2q)