# Realistic 2D Physics with (Plain/Vanilla) JavaScript
This project is a simple simulation/visualization of some physics concepts like gravity, collisions or acceleration in 2D.
-----
If you find this useful, you can support me on Ko-Fi (Donations are always appreciated, but never required):
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/K3K6F4XN6)
## Live Demo
Live demo is available at <https://martinheinz.github.io/physics-visual/>
You can create new objects by clicking and holding left mouse button - the longer you hold the bigger the objects will be.
There are preconfigured example which you can use by clicking on buttons in top right.
## Blog Post - More Information About This Repo
You can find more information about this project/repository and how to use it in this blog post:
- [Implementing 2D Physics in JavaScript](https://towardsdatascience.com/implementing-2d-physics-in-javascript-860a7b152785)