Skip to content

Simple physics engine in TypeScript. It works on a principle that all real world objects can be modeled as point masses and forces acting on them.

License

Notifications You must be signed in to change notification settings

robertrypula/simple-forces

Repository files navigation

Simple Forces

npm version build status coverage status dependencies Status devDependencies Status code style: prettier

Live demo

Project is still in alpha state but you can check the latest versions here:

All versions

Wheel simulation

Wheel

Apollo's free-return trajectory simulation

Wheel

Development

In order to play with the code on your local machine just run commands below:

git clone https://github.com/robertrypula/simple-forces.git
cd simple-forces
yarn

yarn start

You can also try the terminal version:

yarn start:node

Licence

The MIT License (MIT)

Copyright (c) 2018-2020 Robert Rypuła - https://github.com/robertrypula/simple-forces

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.