Repository navigation
PixiJS 3D is public. Combine 2D and 3D in one place, the PixiJS way.
npm install pixi.js @pixi/3d- Docs: https://3d.pixijs.download/release/docs/index.html
- CDN: https://cdn.jsdelivr.net/npm/@pixi/3d@0.1.0/dist/pixijs-3d.min.mjs
🚨 Behavior Change since 0.1.0-beta.3
@pixi/3dships ES modules only. The CommonJS build never loaded; on Node 20.19+ and 22.12+,require('@pixi/3d')now loads the ES modules. (#34)- The CDN files are
pixijs-3d.min.mjsandpixijs-3d-extras.min.mjs, renamed frompixi-3d…. - Warnings start with
[@pixi/3d], and the math types'toString()returns[@pixi/3d/math:Vector3 …].
🐛 Fixed
- Importing
@pixi/3d/extrasbefore@pixi/3dno longer throws "Class extends value undefined". (#34)