/PhysicsSimulation

A school project simulating a mass-spring system

Primary LanguageTypeScript

⚛ Physics Simulation

This repository holds code for a physics school project. It simulates several springs with weights all hanging from each other.

💻 Running locally

To run this repository locally, clone the repository from the command line. Make sure you have NodeJS installed.

$ git clone https://github.com/MauritsWilke/PhysicsSimulation.git

In the same directory as the cloned repository, run the following commands to set up the project.

 $ npm install

Compile the project and execute it, the data will be available in data

 $ npx tsc
 $ node .