Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 1.08 KB

README.md

File metadata and controls

16 lines (8 loc) · 1.08 KB

What's this Project About?

This project creates a simple solar system model using circular motion equations and the React state to manage position, along with controls for the user to interact with. It was a simple way to learn more about React state and how it can be used. I'm particularly happy with the way the CSS Radial gradient can be adjusted depending on the individual planet or moon's position, to simulate the motion around it's orbital center :)

View Online

If you wanna see it in action, head to https://a36-solarsystem.netlify.com/

Deployment Status on Netlify

Netlify Status

Run Locally

If you'd like to check out the code and get it running locally to mess with it, simply clone it down, run npm install in your console to install dependencies and then npm start to start up the server. Then visit http://localhost:3000 to view it in the browser.