News: Did you know ? you can use LaTex inside Postings on fractalforums.com!

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

 Pages: [1]   Go Down
 Author Topic: Milky Way generator (is fractal?)  (Read 3358 times) Description: 0 Members and 1 Guest are viewing this topic.
forth
Guest
 « on: January 04, 2012, 06:12:46 PM »

More images: http://flic.kr/s/aHsjxPunKH
Code:
(* Mathematica 8.0 *)
(* product binary combination *)
PBC[p_, n_] := Product[p[[b + 1]]^BitGet[n, b], {b, 0, Length[p] - 1}]
p := Table[RandomReal[WorkingPrecision -> 20] + I, {i, 15}]
p = Sort[p, Re[#1] < Re[#2] &]
t := Table[
Module[{x = PBC[p, j]}, {Re[x], Im[x]}], {j, 0, BitShiftLeft[1, Length[p]] - 1}]
ListPlot[t, AspectRatio -> 1, Axes -> False]
ListLinePlot[t, ColorFunction -> Function[{x, y}, Hue[x + y]],
AspectRatio -> 1]

So, our galaxy is a product of several tens of complex numbers?

Why sometimes a points are collected in a well-marked five branches?

P.S. Sorry, English isn't my mother tongue.
 Logged
forth
Guest
 « Reply #1 on: January 17, 2012, 02:08:31 PM »

I call it "stochastic spiral".
Rotation video:
 Logged
cKleinhuis
Fractal Senior

Posts: 7044

formerly known as 'Trifox'

 « Reply #2 on: January 17, 2012, 02:18:24 PM »

have you included the black mass phenom ? i mean that speeds of outer orbits are exactly the same as the inner speeds ? contrary to popular belief....
 Logged

---

divide and conquer - iterate and rule - chaos is No random!
forth
Guest
 « Reply #3 on: January 21, 2012, 12:07:44 PM »

I do not plan to fully mimic the nature.
There is 18 clusters. Clusters are obtained from a Hamming weight (ie how many numbers are included in product.) On video below each cluster has it own hue.
Cluster number also means how many turns it will make, so naturally the rate varies.
 Logged
DarkBeam
Global Moderator
Fractal Senior

Posts: 2512

Fragments of the fractal -like the tip of it

 « Reply #4 on: January 21, 2012, 04:18:34 PM »

Why don't you use Apophysis like all other folks for random flames?

Luca
 Logged

No sweat, guardian of wisdom!
cKleinhuis
Fractal Senior

Posts: 7044

formerly known as 'Trifox'

 « Reply #5 on: January 21, 2012, 04:52:54 PM »

it isnt a flame it is a dynamic system, that shows fractal behaviour ... but you might be right, it could be expressed through a flame system as well....
 Logged

---

divide and conquer - iterate and rule - chaos is No random!
DarkBeam
Global Moderator
Fractal Senior

Posts: 2512

Fragments of the fractal -like the tip of it

 « Reply #6 on: January 21, 2012, 05:58:32 PM »

Well I implemented an attractor into Apo some months ago it worked fine. Attractors are dyn systems
 Logged

No sweat, guardian of wisdom!
taurus
Fractal Supremo

Posts: 1175

 « Reply #7 on: January 21, 2012, 06:36:32 PM »

i think it was back in the 70s, when hénon did something very similar with his hénon-attractor. afaik it represents a simplification of gravity discs (instead of points) to simulate gravitational effects inside of galaxies...
 Logged

when life offers you a lemon, get yourself some salt and tequila!
 Pages: [1]   Go Down