babylonjs
Installation
SKILL.md
Babylon.js — Professional 3D Engine for the Web
Overview
Babylon.js is a complete 3D engine written in TypeScript: scene graph, cameras, lights, PBR materials, animation, particles, glTF and other loaders, Havok physics, a 2D/3D GUI and WebXR, running on WebGL or WebGPU. In a bundled app use the @babylonjs/* ES module packages (core, loaders, gui and materials share one version number, currently 9.x; @babylonjs/havok is versioned separately); the babylonjs UMD package is for pages without a bundler, and the CDN scripts are for playgrounds and quick experiments.
Instructions
Installation
npm install @babylonjs/core @babylonjs/loaders @babylonjs/gui
npm install @babylonjs/havok # Physics (optional)
npm install @babylonjs/materials # Advanced materials (optional)
npm install --save-dev @babylonjs/inspector # Debug inspector (optional)
The page needs a canvas: <canvas id="renderCanvas" style="width:100%;height:100%"></canvas>.