A modern, interactive web app built with React, Vite, TypeScript, and Astro to calculate weight on different planets based on gravitational differences.
✅ Enter weight on Earth and get corresponding values for other planets
✅ Fast and optimized using Vite
✅ Type-safe with TypeScript
✅ Astro integration for static site generation (SSG)
✅ Responsive and user-friendly UI
- ⚛️ React – Component-based UI
- ⚡ Vite – Fast development server
- 🔷 TypeScript – Type safety
- 🪐 Astro – Static site generation
- Clone the repository:
git clone https://github.com/RohanCyberOps/planetary-weight-generator.git cd planetary-weight-generator
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open the app in your browser at
http://localhost:5173/
Planet | Gravity (m/s²) |
---|---|
Mercury | 3.7 |
Venus | 8.87 |
Earth | 9.81 |
Mars | 3.71 |
Jupiter | 24.79 |
Saturn | 10.44 |
Uranus | 8.69 |
Neptune | 11.15 |
🔹 Dark mode support
🔹 Animations with Framer Motion
🔹 Support for moons and exoplanets
Pull requests are welcome! Fork the repo and create a PR.
This project is open-source under the MIT License.