Logo by kr0mat1k - Contribute your own Logo!
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. September 25, 2017, 05:07:00 PM


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]   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: which software to view my custom 3d fractal formula?  (Read 281 times)
0 Members and 1 Guest are viewing this topic.
TedWalther
Forums Newbie
*
Posts: 6


« on: August 14, 2017, 10:19:07 AM »

From time to time I think up new 3d formulas to try out.  Is there any software out there that I can type my formulas into, then see the 3d render?  I've tried mandelbulber and mb3d but didn't see how to enter my formulas in.

The formulas I want to try right now are:

Formula 1:
x = 2x^2 - y^2 - z^2
y = 2xy
z = 2xz

Formula 2:
x = x^2 - y^2 - z^2 - 2yz
y = 2xy
z = 2xz
Logged
TedWalther
Forums Newbie
*
Posts: 6


« Reply #1 on: August 14, 2017, 10:22:08 AM »

And if those two formulas have already been posted here, can you please link me to the images?
Logged
TedWalther
Forums Newbie
*
Posts: 6


« Reply #2 on: August 14, 2017, 11:21:16 AM »

Ok, I learned that mb3d has a way to put in custom formulas using JIT, and JIT is a dialect of Pascal.  So, I put in Formula 2.

Now, for both formulas, I was very careful.  They are both identical to the classic 2d mandebrot set in the xy plane.  But when I look at the JIT render, I don't see the 2d mandelbrot at all, it just looks wierd! Same for Formula 1.

In fact, for both formulas, I arranged it so the xy and xz plane are exactly identical to the 2d mandelbrot set.   Could someone check with mb3d or other program, what is going on?  I derived the formulas carefully.  Why isn't the 2d mandelbrot showing up in the xz and xy planes for both formulas?
Logged
knighty
Fractal Iambus
***
Posts: 818


« Reply #3 on: August 14, 2017, 01:50:20 PM »

You forgot to add C? wink
The code should look something like this:
Code:
procedure Ted01(var x, y, z, w: Double; PIteration3D: TPIteration3D);
var
    x1,y1,z1: Double;
begin
    x1 := 2*x*x-y*y-z*z;
    y1 := 2*x*y;
    z1 := 2*x*z;
    x :=x1 + PIteration3D^.J1;
    y:=y1  + PIteration3D^.J2;
    z:=z1  + PIteration3D^.J3;
end;
Logged
TedWalther
Forums Newbie
*
Posts: 6


« Reply #4 on: August 14, 2017, 09:18:37 PM »

You forgot to add C? wink
The code should look something like this:

Thank you, that helped.  I'm used to the interface in OpenSCAD that lets me move an object around and look at it; are there controls that let me set the camera location and direction?  Is there an option to create a spiral "look-around" video that aims the camera at a central point?

The results for both formulas are still puzzling, and not giving the mandelbrot set in the xy and xz planes. I was definitely surprised to see the first formula show up as a mandelbrot2d revolved around the x axis.  Except... it isn't.   The tail is missing.
Logged
3dickulus
Fractal Senior
******
Posts: 1555



WWW
« Reply #5 on: August 15, 2017, 01:53:59 AM »

Is there any software out there that I can type my formulas into, then see the 3d render?

Have you tried Fragmentarium?
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
TedWalther
Forums Newbie
*
Posts: 6


« Reply #6 on: August 15, 2017, 02:40:19 AM »

Have you tried Fragmentarium?

Thank you, I'll check it out.  Looks like the last update was 2013, hope bitrot hasn't set in.
Logged
3dickulus
Fractal Senior
******
Posts: 1555



WWW
« Reply #7 on: August 15, 2017, 06:26:29 AM »

uhm... I think you're referring to v1.0, if all you want is to muck about with some formula then v1.0 will do nicely,

but if you want to animate then v1.0.31 has many more features
v1.0.31 Jul 2017 http://www.digilanti.org/fragmentarium/
and if you want to play with some more advanced features like double types and cubemaps then v2.0 might do the trick wink
v2.0.0 Aug 2017 https://github.com/3Dickulus/FragM/
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Pages: [1]   Go Down
  Print  
 
Jump to:  


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.137 seconds with 27 queries. (Pretty URLs adds 0.012s, 2q)