hypergravity
hypergravity copied to clipboard
Reflect window movement in the physics world
When moving and resizing the window, the elements should behave like the container is moving.
See https://stackoverflow.com/a/39312522
For resizing, try also window.addEventListener('resize', function)
.