What problem does it solve?
This Skill helps you render textured, deformable geometry in PixiJS v8 when Sprites and simple primitives can’t express your shape or animation needs.
Core Features & Use Cases
- Build custom geometry with MeshGeometry + Mesh: Provide positions, UVs, indices, and topology for full control or custom shader workflows.
- Use purpose-built mesh variants for common deformations: Pick MeshSimple for animated vertices, MeshPlane for grid-based distortion, MeshRope for textured ribbons along points, and PerspectiveMesh for 2.5D corner warping.
- Avoid common v8 pitfalls: Use options-object constructors, correct property names (positions vs vertices), and treat Mesh as a leaf node that must be grouped in a Container.
Example: Create a perspective-tilted UI card that smoothly warps as corners move each frame, using only MeshGeometry-compatible primitives and the correct setCorners corner order.
Quick Start
Use pixijs-scene-mesh to create a MeshGeometry-backed Mesh with a loaded texture and triangle-list topology, then add it to app.stage for immediate rendering.