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
What would be my best route to generate this? Is there a type of fractal algorithm I could use somehow? Any thoughts?
Thanks
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://en.wikipedia.org/wiki/SSPSF_model