lucaspevidor / InteractiveCanvas

A training project for interacting with an environment through HTML canvas
GNU General Public License v3.0
1 stars 0 forks source link

rework / Camera movement reimplementation #1

Closed lucaspevidor closed 1 year ago

lucaspevidor commented 1 year ago

The camera movement was reimplemented using a physics based approach, where the camera is simulated as a physics objected that has mass and inertia. Forces are applied to move it, and drag is applied to stop it.