claude
Fractal Bachius
Posts: 563


« on: April 10, 2016, 11:54:06 PM » 




Logged




zebastian


« Reply #1 on: April 11, 2016, 05:45:27 PM » 

really nice, claude. from your code https://mathr.co.uk/blog/20160410_collatz_fractal.htmli was able to generalize the formula to 3d with good distance estimation, this is the formula in mandelbulber: void CollatzIteration(CVector3 &z, sExtendedAux &aux) { CVector3 xV(1.0, 1.0, 1.0); z = xV + 4.0 * z  CVector3(xV + 2.0 * z) * z.RotateAroundVectorByAngle(xV, M_PI); z /= 4.0; aux.DE = aux.DE * 4.0 + 1.0; } attached images are all the same object from different points of view.



Logged




CristJRoger


« Reply #2 on: April 12, 2016, 10:19:05 AM » 

Nice fractal, claude void CollatzIteration(CVector3 &z, sExtendedAux &aux) { CVector3 xV(1.0, 1.0, 1.0); z = xV + 4.0 * z  CVector3(xV + 2.0 * z) * z.RotateAroundVectorByAngle(xV, M_PI); z /= 4.0; aux.DE = aux.DE * 4.0 + 1.0; }
Nice shape! Is that possible to adapt this code for Fragmentarium?



Logged




mclarekin


« Reply #3 on: April 12, 2016, 10:24:56 AM » 

with Add Cpixel. Step multiplier a slow .01



Logged





laser blaster
Iterator
Posts: 178


« Reply #5 on: April 14, 2016, 04:14:21 PM » 

(I have to put something here so the forum doesn't reject this as a duplicate post... )
This is really cool! I've seen this fractal before, but the use of DE coloring almost made me not recognize it at first  it really brings out all the details.
Anyway, I realized that you could change the constants in the formula to make a whole family of Julia sets based on this formula. There are 4 complex constants in the formula, so that makes an 8dimensional parameter space (the "/4" at the end of the formula is technically another constant, but it's redundant with the others).
Next up would be to make a Mandelbrot set for this formula, however to render it properly I'd need to derive the critical points ( I think the sin/cos based fractals have an infinite no. of critical points and are therefore hard to render properly, but I think there's a trick to it. I read some pdf's on it a long time ago, I'll see what I can dig up).



Logged




laser blaster
Iterator
Posts: 178


« Reply #6 on: April 14, 2016, 04:16:36 PM » 

Another screenie.
I'll post the .frag file, but first I need to downconvert it back to single precision. I converted it to emulated double precision for deeper zooms, but it's slow, relies on 2 custom include files, and requires a newer GPU as I use the fma function for faster emulated double multiplication. So I think my highprecision version would be more trouble than it's worth for most of you. But I'll be happy to share if you want it.


« Last Edit: April 14, 2016, 04:28:21 PM by laser blaster »

Logged




laser blaster
Iterator
Posts: 178


« Reply #7 on: April 14, 2016, 04:34:24 PM » 

Two more!



Logged




claude
Fractal Bachius
Posts: 563


« Reply #8 on: April 14, 2016, 06:04:34 PM » 

nice!



Logged




laser blaster
Iterator
Posts: 178


« Reply #9 on: April 15, 2016, 12:46:10 AM » 

Here's the .frag with the Julia parameters:



Logged




mclarekin


« Reply #10 on: April 15, 2016, 02:19:32 AM » 

It would be cool if the beauty of the 2D antennae features posted by Claude could be replicated in 3D, but so far the best use of this formula in 3D that I have found, is in making hybrids. I coded variable parameters for all constants, (including /4 and Pi). This image is using the Collatz fractal as a pretransform of 1 iteration before the menger sponge, the "Collatz parameter controls" allows for interesting manipulation of the Menger Sponge



Logged




Mrz00m
Fractal Lover
Posts: 204


« Reply #11 on: April 15, 2016, 08:38:28 AM » 

awesome collatz, it would be interesting to see collatz in ultrafractal or some kind of deep zoom program, and see it in color.
The menger sponge is awesome! i want to print it in 3d!!! perhaps just pring one of them, but in distorted timespace!:)



Logged




laser blaster
Iterator
Posts: 178


« Reply #12 on: April 16, 2016, 12:28:14 AM » 

I'm finding this formula really fascinating so far. Mclarekin had a good idea of replacing pi with a parameter, which gives some of the coolest variations in 2D. I've found that the most interesting shapes can be found with all real values for the parameters. Complex values can give nice results too, but often look similar to quadratic and cubic Julias which are old news. There are new and alien looking shapes things all over the parameter space, but most of them seem to be clustered near the realvalued parameters.
There's one thing really interesting I noticed  some of these Julia sets almost have a kind of shape stacking. I've been studying the defaultvalued set in particular. As you move out further along the main antenna, you find period doubled versions of previous shapes. Sometimes you find what looks to be two previous shapes shapestacked together. You can't do any shape stacking by zooming in, only by moving further out along any antenna. I'm trying to figure out what the "ancestry" of each shape along the main western antenna is, along with what pattern they follow. Perhaps the ancestry path of each integercentered body along the real line corresponds to the path taken by it's central point when iterated under the Collatz function? Just speculation so far.
Anyway, this fractal is cool. I hope to see some pictures from more talented explorers.



Logged




stardust4ever
Fractal Bachius
Posts: 513


« Reply #13 on: April 16, 2016, 07:39:41 AM » 

I've been fascinated on and off for some time by the Collatz postulate, with how every positive integer always reverts back to a 421 loop, no matter what. And if you allow negatives, there are a finite number of additional known loops. Some particularly hard numbers grow to quite impressively high values before eventually regressing to the aformentioned 421 loop. I'm more interested in this unique fractal and any hidden details it may hold at higher values. Is it Mandelbrotlike increasing complexity or relative sameness? I've seen a few renders but I don't understand how it is calculated. If it uses trig, then an arbirary precision library for it would be bogslow compared to deepzoom Mandelbrots. Also is there a plugin for UF5? I own a basic license for Ultra Fractal but haven't done much with it in the past several years since I got obsessed with deep zoom fractal exploration, and my second and third order abs() fractal sets got incorporated into Fractal Extreme plugins and Kalles Fraktaler. UF5 is far too slow for doing any arbitrary deep zoom stuff. Edit: No trig at all! I just read the following writeup which is quite fascinating: http://jlpe.tripod.com/collatz/cfractal.pdfIt does require a complex abs() necessitating the square root function which would complicate arbitrary precision zooming. The Collatz fractal has two different versions based upon whether it uses the ceiling or floor of the complex absolute value to determine evenness or oddity, and computes the result based on whether the fractal eventually converges on 421 or escapes without bound. And I suppose one could develop an exterior coloring technique based on how quickly it escapes to some arbitrarily large bailout, or internally based upon how long slowly it converges on 421. This might make the boundary of the set highly ornate, even in monochrome, with fractal details on both edges of the curve if both inner and outer coloring methods are employed.


« Last Edit: April 16, 2016, 08:04:47 AM by stardust4ever »

Logged





