Coffee-Physics
A simple, lightweight physics engine written in CoffeeScript
...The design is intentionally composable: you attach behaviors to particles or groups and let the update loop integrate positions, producing emergent effects from a few rules. Because it is lightweight, it integrates easily with 2D renderers like Canvas or WebGL, and it is popular in generative art sketches and interactive experiments. The codebase emphasizes readability and hackability so learners can modify the solver, add new behaviors, or swap integrators without wading through engine internals. It’s ideal when you want expressive motion and playful dynamics rather than full rigid-body simulation.