{"repo":"TheOnlyZac/starmap","free":true,"listed":false,"github":"https://github.com/TheOnlyZac/starmap","clone":"git clone https://github.com/TheOnlyZac/starmap.git","description":"3D visualization of galaxy data from Spore (2008)","language":"JavaScript","stars":13,"topics":["3d","data-visualization","map","map-viewer","node","space","spore","stars","threejs","webapp"],"license":null,"category":"analytics","readme_excerpt":"StarMap An interactive 3D map of the Spore galaxy. The data comes from stars.db , which is where the game stores information about generated star systems. Getting Started Run from commandline 1. Clone the repo 2. Install dependencies with npm install 3. Start the server with npm start 3. Open localhost:4200 in a browser Build app Run the build script with npm run build . It will produce a standalone Win, MacOS, and Linux executable in the build folder. Controls Control the camera with the mouse. Left Click + Drag to rotate Right Click + Drag to pan Scroll Wheel to zoom in/out Hover over a star to view its name Click a star to view its details Press space to reset the camera Background When you first boot up Spore, the game procedurally generates a galaxy of 42,010 stars. For each star it generates a cStarRecord , which are saved in serialized form to a package file called stars.db . Each star record keeps track of things like the type of the star, it's position in the galaxy, the number of planets, the ID of the empire that owns it, etc. This file is kept up to date with your galaxy's data as you play. There is no randomness in the algorithm which determines the positions of stars, so each galaxy has stars in exactly the same places. Stars may also have one or more planets orbiting them; However, planets are not generated until you visit the star in the space stage. Notes Each dot is a single star system, black hole, or proto-planetary disk. The galaxy is naturally very flat,","default_branch":null,"files":null,"tree":[],"storefront":"/r/TheOnlyZac","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TheOnlyZac/starmap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}