2‑D version of the Lenguado physics‑engine family
lenguados is a TypeScript‑based, lightweight, deterministic, and extensible 2‑D physics engine.
Its render plug‑in system makes it easy to integrate with any 2‑D rendering engine (Canvas 2D, WebGL, etc.), while its modular solver architecture lets you extend or swap physical algorithms as needed, delivering accurate collision detection and consistent performance for games and simulations.
License: Apache License 2.0 — free to use in commercial or open‑source projects as long as you keep the required attribution in the
LICENSEandNOTICEfiles. Contributions are welcome via pull requests under the same license/CLA terms.
lenguados es un motor de físicas 2D ligero, determinista y extensible escrito en TypeScript.
Su sistema de plug‑ins de render permite integrarlo fácilmente con cualquier motor de renderizado 2D (Canvas 2D, WebGL, etc.), mientras que su arquitectura modular de solvers facilita la extensión y personalización de los algoritmos físicos, garantizando detección de colisiones precisa y rendimiento estable para videojuegos y simulaciones.
Licencia: Apache License 2.0 — uso gratuito para proyectos comerciales u open‑source, siempre que se mantenga la atribución indicada en los archivos
LICENSEyNOTICE. Las contribuciones se aceptan mediante pull requests bajo los mismos términos de licencia/CLA.
Released under the Apache License 2.0.
You must keep the LICENSE and NOTICE files (and their copyright headers) in any distribution or derivative work.
Distribuido bajo la Apache License 2.0.
Debes conservar los archivos LICENSE y NOTICE (y sus encabezados de copyright) en cualquier distribución o trabajo derivado.
## Getting Started
git clone https://github.com/rndelpuerto/lenguados.git
cd lenguados
nvm install # installs 22.14.0 from .nvmrc
nvm use
npm install