Browse Search Popular Register Upload Rules User list Login:
Math Pattern Generator

screenshot of the scene

Author: Xray

Group: Default

Filesize: 61.55 kB

Date added: 2015-12-08

Rating: 6.1

Downloads: 548

Views: 340

Comments: 21

Ratings: 3

Times favored: 0

Made with: Algodoo v2.1.0


Scene tag

I was trying very hard to generate a Mandelbrot Fractal by programming the complex math algorithm. Well, after giving up on that, I started playing around with a lot of different math functions in order to try to get them to plot some interesting patterns of dots, and this is what I came up with. Follow the instructions in the scene.

BTW - If any of you math and programming wizards (you know who you are) want to work on a challenging but rewarding project, make a scene that generates a true Mandelbrot Fractal. My math and programming skills are not quite strong enough for such a project, and so I'm hoping that someone else can successfully do what I had failed at. :blush:
Please log in to rate this scene
Similar scenes
Title: Math Generated Patterns
Rating: 5
Filesize: 18.19 kB
Downloads: 766
Comments: 6
Ratings: 3
Date added: 2019/01/06 04:52:23
Made with: Algodoo v2.1.0
Rating: rated 5
Title: Graph Generator v1.1
Rating: 8.0555
Filesize: 29 kB
Downloads: 2112
Comments: 14
Ratings: 12
Date added: 2009/11/09 15:32:41
Made with: Algodoo before v1.8.5
Rating: rated 8.1
Title: atan2 mouse control(springs)
Rating: 5.1111
Filesize: 77.08 kB
Downloads: 741
Comments: 1
Ratings: 3
Date added: 2009/10/12 18:37:07
Made with: Algodoo before v1.8.5
Rating: rated 5.1
Title: Lissajous Generator
Rating: 5
Filesize: 9.07 kB
Downloads: 360
Comments: 2
Ratings: 1
Date added: 2011/09/12 00:16:40
Made with: Algodoo v1.8.5
Rating: rated 5
Title: Random number generator device
Rating: 5.8889
Filesize: 35.14 kB
Downloads: 496
Comments: 2
Ratings: 3
Date added: 2009/12/10 16:30:48
Made with: Algodoo before v1.8.5
Rating: rated 5.9
Title: some more ragdolls
Rating: 5
Filesize: 1.08 MB
Downloads: 260
Comments: 0
Ratings: 1
Date added: 2017/06/22 19:48:16
Made with: Algodoo v2.1.0
Rating: rated 5
Simply downloading crashes my iPad... I'll try this later when I get to my desktop PC.
Ohhhh, mandelbrot, I recoded that algorythm in java, so I could help you with that, if we use about 144 circles to represent the dots.
Awesomely cool.
I once tried to make the mandelbrot thing in Algodoo, after working for several hours, it worked with a slight error.
Anbang11 - Why didn't you post the scene? If you still have it, you can post it because I would like to take a look at it to see how you made it!
Mandelbrot is actually German, it means ???bread
For more information go to
When I squared the mandelbrot equation (z^2+(x+yi)
I got (z^4)+(2z)+(2x)-(zy)+(x^2)-(xy)+(y^2)-(y)-1
I simplified until there were no "i"s left.
desmos is not capable of graphing it
LastChance has the equation, but... Desmos is not capable of grahing it. So, he takes matters into his own hands. The end of this season might be on it way! (hopefully)
Well, I made it in quite a short time, but that's because I have done this before already ^^.

Also, about the formula with the complex numbers:

C^2 = (Cx+Cy*i)^2 = Cx*Cx + 2*Cx*Cy*i+Cy*i *Cy*i ) Cx^2 + 2CxCyi + Cy^2 * (- 1)

Short version: C^2 = (x^2-y^2,2xyi)
austin9700 - I have no idea what you are talking about! I don't send you anything at all. Maybe it's because you are subscribed to me, the Algobox system automatically sends you information about new scenes that I post. If that's it, then just unsubscribe from me and you should no longer receive those "spams".:rolleyes:
Is that mandebrot equation? I thought it was C^2=(x+yi)^2+c
I squared it, and that is what I got.
I think I did it wrong
(everybody but me facepalm)
I don't think you spam:D

You are PARTLY right, since any number consisting of (x+yi) is called a complex number. And since any number can be replaced with 1 sole variable, and since said variable is dependand on the last result, one says Xn+1 = Xn^2+C, which means the new complex number X is made of the last complex number X squared plus the complex number C, which consists of (x,yi) whereas x and y are the coordinates of the point that the set calculates.

Squaring any complex number is basically like working with a binomial formula:

(a+b)^2 = a^2+2*a*b+b^2

Since complex numbers also own the factor i, the formula is slightly modified, integrating i to all places where b occurs:

(x+yi)^2 = x^2 + 2xyi + y^2*i^2

and since i^2 = -1, and y^2 * -1 = -y^2, the formula finally turns into x^2 + 2xyi - y^2, and now you can easily reorder the parts to (x^2 - y^2 + 2xyi) and you've got the new complex number.
Last edited at 2015/12/19 08:57:50 by FRA32
When are you supposed to press Alt? I dont get it.
My goal is to get desmos to graph the mandelbort equation. And not a whole bunch of points that look like it. The actual equation.
The way to do this is to not use "imaginary" and by getting rid of i, I must square it as many times as necessary to make -1.
While this answer is a little late, you can completely ignore the i part in the formula since you square the complex numbers, turning it into -1. So the formula is Zn+1(x,y) = (Zx^2-Zy^2,Zx*Zy)+(Cx,Cy). Your maths program does not care that there should be an i in the equation if you leave it out. Ss long as you tell it that the y coordinate turns negative when squared, even if common maths may return other things, it will return correct results. That's why algodoo can do this thing despite our lack of the complex number system.