Skip to content

adriancorcoran/react-solar-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published