Link to home
Start Free TrialLog in
Avatar of Chumad
Chumad

asked on

Algorithm to randomly generate 'spiral galaxy'

I'm trying to come up with an algorithm to randomly generate a spiral galaxy of stars.  Each star will be on a flat 2D plane of x,y coordinates.

What would be my best route to generate this? Is there a type of fractal algorithm I could use somehow? Any thoughts?

Thanks
Avatar of ozo
ozo
Flag of United States of America image

Avatar of Chumad
Chumad

ASKER

Ok, so those seem to be how nature generates the galaxy. I want ideas on how I can programmatically generate one.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial