robertrypula / simple-forces

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.

Home Page:https://cdn.rypula.pl/simple-forces/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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.

https://cdn.rypula.pl/simple-forces/

License:MIT License


Languages

Language:TypeScript 89.4%Language:JavaScript 6.9%Language:HTML 3.4%Language:SCSS 0.3%