{"data":{"slug":"rapier","name":"Rapier","tagline":"Apache-2.0 Rust/WASM physics: 2D+3D, joints, SIMD","category":"libraries","categoryName":"Libraries","url":"https://rapier.rs","github":"https://github.com/dimforge/rapier","pricing":"open-source","hook":"Rapier is the Rust/WASM physics engine when Matter.js stops at 2D MIT.","whatsGood":"Apache-2.0. 2D and 3D, joints, SIMD, optional determinism. Native Rust and WASM builds. Dimforge stack next to nalgebra.","theCatch":"Rust/WASM 2D+3D with joints/SIMD/optional determinism — Matter.js is MIT 2D only. Planck HOLD (same 2D JS slot as Matter). Distinct from Matter.js.","verdict":"Apache-2.0 2D+3D physics. Not Matter.js 2D.","addedAt":"2026-09-04","featured":false,"domain":"Graphics & 3D","subSpecialty":"Physics","capabilities":["physics","2d","3d"],"surfaces":["Self-host"],"ecosystem":["Rust","WASM","Browser"],"licenseModel":"Apache-2.0","githubStars":5712},"related":[{"slug":"hono","name":"Hono","tagline":"Tiny TypeScript web framework that runs on every runtime"},{"slug":"phaser","name":"Phaser","tagline":"MIT HTML5 2D game framework with scenes, physics, and tilemaps"},{"slug":"pixijs","name":"PixiJS","tagline":"MIT 2D WebGPU/WebGL renderer, not a game engine"},{"slug":"babylonjs","name":"Babylon.js","tagline":"Apache-2.0 3D engine for the web, now on v9"},{"slug":"playcanvas","name":"PlayCanvas","tagline":"MIT WebGL2/WebGPU engine plus an optional hosted Editor"}],"links":{"self":"/api/gems/rapier","html":"/gems/rapier","markdown":"/gems/rapier.md","category":"/api/gems?category=libraries","categoryPage":"/stacks/libraries"}}