Skip to content

AlanNJ/react-gravity-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A 2D animation which simulates the action of gravity on Objects on free space

* created using create-react-app

Introduction

This is the gravity simulation app made in a consideration that anything that has mass is impacted by gravity

You can visit the deployed app, at https://react-gravity-simulation.herokuapp.com/.

This repository contains the files related to the app. The master branch contains the app's source code (the code the app's developers edit), and the gh-pages branch contains a built version of the app (i.e. the code that GitHub Pages serves to the app's visitors).

Running the code on your local machine

  1. update your npm package manager to its latest version.
npm update [-g] [<pkg>...]

aliases: up, upgrade
  1. Fork this repository with the icon present near top-right corner

  2. Now clone the repository by:

git clone `https://github.com/AlanNJ/react-gravity-simulation.git`
  1. Now install the dependencies used in the app just by
npm install or npm install --force
  • The commands shown in the following steps can all be issued from within the app's folder.
  1. Thats all it.You can start your react app by:
npm start

Happy Hacking !!

About

A simple 2D simulation of how gravity affects the objects in free space

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published