(Question) Interpolating fractals

  • 2 Replies
  • 234 Views

0 Members and 1 Guest are viewing this topic.

Offline samplesizeofone

  • *
  • Fractal Freshman
  • *
  • Posts: 1
« on: February 24, 2019, 05:38:17 PM »
I created http://samplesizeofone.com/external/mandlebrot_julia_morph.mp4 by interpolating between the iteration function for the mandlebrot and julia set over time. Specifically, the iteration function becomes:

(1 - t)*mandlebrot(c) + t*juliaset(c)

where t is time.

Is it possible to do something like this with the mandlebulber? If not, how hard would it be to add? Is the distance estimation function a deal breaker? I'm very curious how this would turn out.

Many thanks.

Linkback: https://fractalforums.org/mandelbulber/14/interpolating-fractals/2645/

Offline buddhi

  • *
  • Fractal Friar
  • *
  • Posts: 116
    • Mandelbulber GitHub repository
« Reply #1 on: February 24, 2019, 09:03:28 PM »
It is already possible in Mandelbulber. Below are setting for morphing between Mandelbulb Power 2 and Julia set with C=(-1, 0, 0)
It is made as a hybrid fractal.
In first slot there is main fractal formula (Mandelbulb Pow 2), but with "Don't add C constant" enabled.
In second slot is addition of C constant depending on pixel position
In third slot there is addition of Julia constant
Morphing is done by adding weight values for second and third slot to animation table. By decreasing weight for second slot and increasing weight for third slot there is made morphing between Mandelbrot and Julia sets.

Code: [Select]
# Mandelbulber settings file
# version 2.16
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
camera -2,130999575970423 -2,659811253990262 0,7890643249307752;
camera_distance_to_target 3,218288059286709;
camera_rotation -31,51667761363774 -14,19255329033587 0;
camera_top 0,1281677670855954 0,2090141986028645 0,9694772242103962;
check_for_bailout_2 false;
dont_add_c_constant_1 true;
flight_last_to_render 0;
formula_1 3;
formula_2 1007;
formula_3 1001;
formula_weight_3 0;
hybrid_fractal_enable true;
keyframe_last_to_render 0;
mat1_is_defined true;
mat1_specular 4;
mat1_specular_width 0,063;
raytraced_reflections true;
target -0,5 0 0;
[fractal_1]
power 2;
[fractal_2]
[fractal_3]
transf_addition_constant -1 0 0;
[keyframes]
frame;main_camera_x;main_camera_y;main_camera_z;main_target_x;main_target_y;main_target_z;main_camera_top_x;main_camera_top_y;main_camera_top_z;main_formula_weight_2;main_formula_weight_3
0;-2,130999575970423;-2,659811253990262;0,7890643249307752;-0,5;0;0;0,1281677670855954;0,2090141986028645;0,9694772242103962;1;0
1;-2,130999575970423;-2,659811253990262;0,7890643249307752;-0,5;0;0;0,1281677670855954;0,2090141986028645;0,9694772242103962;0;1
2;-2,130999575970423;-2,659811253990262;0,7890643249307752;-0,5;0;0;0,1281677670855954;0,2090141986028645;0,9694772242103962;1;0
interpolation;morphAkima;morphAkima;morphAkima;morphAkima;morphAkima

Offline mclarekin

  • *
  • Fractal Frankfurter
  • *
  • Posts: 612
« Reply #2 on: February 25, 2019, 02:07:22 AM »
We can morph using weight parameters in Mandelbulber

or in Mandelbulber and FragM we can morph  the "add constants"

If we convert fractal maths to basic maths

      // add constants
      z += c + Julia; where  c = vec3(originalpoint ) * vec3(origPointScale)

basic shape is  z += vec3(originalpoint) * vec3A(0,0,0) + vec3B(0,0,0)  => z += 0.0  =>mbox cube or a bulb sphere

replacing the six zero parameter in Vec3A and vec3B  is what determines the shape. We can morph from a pure  M-set to a pure J-set.


xx
"Time Span"

Started by cricke49 on Fractal Image Gallery

0 Replies
360 Views
Last post August 02, 2018, 07:05:21 AM
by cricke49
xx
Birdie Style

Started by gannjondal on Fractal Image Gallery

1 Replies
420 Views
Last post May 08, 2018, 02:39:37 PM
by who8mypnuts
clip
Neural Style Transfer with Fractal Art

Started by reallybigname on Other Artforms

1 Replies
189 Views
Last post July 20, 2019, 04:25:41 PM
by reallybigname
xx
Buddhabrot-style Burning Ship [65536x24576]

Started by programagor on Fractal Image Gallery

12 Replies
689 Views
Last post October 10, 2018, 02:12:39 AM
by 3DickUlus
clip
Minuscule source code for Lyapunov images (ASCII style)

Started by marcm200 on Programming

8 Replies
497 Views
Last post March 20, 2019, 07:37:58 PM
by marcm200