Re: [nbos] [AS] Sector Generation"Cam Kirmser" Thu Jul 9th, 2009Thanx for the info; that was something along the lines I was thinking - but, I hadn't thought of it, yet... Originally, I was thinking of defining the coordinates for something like a string segment and weighting stars to form more closely to the string than away. But, the math frightened me. Then, I had found some data on the collapse of dust into stars, and I thought I'd see about defining some nebulae and then collapsing them into stars. Again, I ran gibbering from the math - this was beginning to seem more like one of my Call of Cthulhu scenarios. Then, I said to myself, "Self, you're making this more complex than it needs to be. For one, none of your players have a clue about the structure of the galaxy, so they won't be able to appreciate all the work, if you did it. For another, there's all that horrifying math." So, I'll just stick to something like you sent... ----- Original Message ----- From: Shade Tree To: nbossoftware-at-nbos.com Sent: Wednesday, July 08, 2009 5:33 PM Subject: Re: [nbos] [AS] Sector Generation Summary at the bottom. The milky way is ~100,000 light years across in diameter and ~2,000 ly high on average (10k at the core, 3k near the sun, less as you get further). If we figure it as a cylinder that gives a volume of 15,707,963,267,949 cubic lightyears. there is an estimated 200,000,000,000 to 400,000,000,000 stars in the galaxy. If we consider an equal spread that gives us something near to each cubic lightyear having a (2-4) in 157 chance of containing a star. So if you check each x,y,z and give each coordinate a 1.27%-2.54% chance of having a system of some sort you should get a pretty good distribution. If a star is born take those x,y,z coords and displace them + or - a random bit between .0 and .9 in each direction and you should be okay. I'd move them to the center of the 'cube' (add .5 to each coord) and then displace them +/- .5, but I'm funny like that. Now the MW is neither a cylinder nor are the stars evenly distributed within it, but it's quick and dirty and it should work out decently. for anything not in the core or on the rim. Reverse checking the maths. A 1000 ly cube is about 0.006% of our false, evenly dispersed, cylindrical galaxy. 0.006% of 400billion stars is 25.5 million stars. The cubic area of a 1000ly is 1bil ly which gives us 25.5m stars distributed over it or 2.55% which jiggers with the high end of the percentage I posted above. I'm not going to show the math but that averages out to about 4ly between stars so making a 5ly autoroute should connect the majority of them. Or you could use my Traderoutes script on Nox for more control. (shameless plug). Summary: Each cubic lightyear has between a 1.3% to 2.5% chance of containing a star within it. Less near the rim and more near the core. _______________________________________________ Nbossoftware mailing list
Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.