Planet Forge!
- 8 Devlogs
- 8 Total hours
a simple simulator that allows you to play around with various parameters to design your own planets!
a simple simulator that allows you to play around with various parameters to design your own planets!
Planet Forge is complete! This final stage was just refining the experience, cleaning up the code, and making sure it’s all ready to ship!
Instead of scrambling to add new features, just forced on improving the overall quality of the simulator. It looks a lot better now with a lot of .css changes that makes it look almost professional! Also put together the final README.
Added a button to save your custom made planet.
Added a “Save Planet” button under the Planet Card, and a new “Planet Archive” section at the bottom. Added css styling for save button, archive grid, archive cards, and empty state.
Added a “Generate Random Planet” button to the Controls panel, clicking it rolls new random values for size, color, atmosphere, moons, rings, all at once, and the sliders/ checkboxes actually move to show the new values! Everything downstream, the preview, the info panel, and planet card, updates automatically since it all reuses the same functions the manual controls already call.
Got the first “collectible” planet update!
Added a Planet Card section below the main layout that puts together everything going on with the planet -> name, type, gravity, temperature (avg), atmosphere, habitability, and moon count, into one clean card. Each planet gets a rarity (Common -> Legendary), with a short description.
Finally it does more than just displaying a shape, you can actually simulate something!
Built out the Planet Information panel so it actually generates data instead of showing the random placeholder text I had previously added. Every time you tweak any of the controls, the planet gets a new name, type, gravity, temp, atmosphere, and habitability all recalculated based on the current size, color, and atmosphere settings. The rules behind these are pretty straightforward (bluer planets run colder, bigger planets have higher gravity), but it’s enough to make each change lead to a new planet!
Added parameters beyond just size and color to Planet Forge.
I added a few more ways to customize the planet’s look, there’s not a toggle for an atmosphere glow, a toggle for rings, and a slider to add up to 3 moons. All these connect straight to the preview, so flipping the checkbox or dragging a slider updates the planet right away. I also make the rings and moons scale and position themselves based on all the changes.
Continued working on Planet Forge by improving the overall design and adding the first interactive controls!
I redesigned the interface with a darker and cleaner look by removing the glassmorphism styling. I switched to flat panels with hard edges and thin borders.
Once the layout was finished, I added the first two controls: 1] a slider to adjust the planet’s size and 2] a color picker to change its main color. It updates instantly!
Planet Forge - a browser-based planet creation simulator built with HTML, CSS, and JavaScript.
The idea is to let users create their own planets by customizing different properties, generate a small report about the planet, and collect planet cards.
I created the basic project structure and put together the overall layout with a header, controls panel, planet preview, and information panel.