pixijs-scene-mesh

Render 2D or perspective-projected geometry with textures or shaders in PixiJS.

1|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/matthewharwood/dean-stack --skill pixijs-scene-mesh-matthewharwood
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pixijs-scene-mesh
Source: https://github.com/matthewharwood/dean-stack/tree/main/.claude/skills/pixijs-scene-mesh
Command: npx skills add https://github.com/matthewharwood/dean-stack --skill pixijs-scene-mesh-matthewharwood

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Rendering custom mesh-based geometry in PixiJS, combining textures or shaders to produce flexible, high-density visuals.

Core Features & Use Cases

  • Mesh variants: use Mesh, MeshSimple, MeshPlane, MeshRope, PerspectiveMesh to match shapes and motion.
  • Scene grouping: wrap multiple meshes in a Container to group them and apply transforms.
  • Core concepts alignment: follows pixijs-scene-core-concepts patterns and exposes MeshOptions-related references for clear integration.

Quick Start

Create a Mesh with a texture and add it to the PixiJS stage to see a textured geometry render.

Frequently Asked Questions about pixijs-scene-mesh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render custom 2D geometry with a texture in PixiJS?

To render custom 2D geometry with a texture in PixiJS, use the base Mesh class and pass your geometry and texture via MeshOptions. Add the resulting object to your Container-based scene graph to display the textured visuals.

What is the difference between MeshPlane, MeshRope, and PerspectiveMesh in PixiJS?

MeshPlane, MeshRope, and PerspectiveMesh are PixiJS mesh variants for distinct shapes and motion. MeshPlane distorts flat surfaces, MeshRope creates bending linear shapes, and PerspectiveMesh handles perspective-projected geometry for 3D-like visual effects.

When should I use the base PixiJS Mesh instead of its subclasses?

Use the base PixiJS Mesh instead of its subclasses when you need to render arbitrary 2D geometry with custom shaders and require full control over the API surface. Subclasses like MeshPlane or MeshRope offer specialized behavior for specific shape deformations.

Can I group multiple PixiJS meshes and apply transforms to them?

Yes, you can group multiple PixiJS meshes and apply transforms by wrapping them in a Container. This scene grouping approach allows you to manage and manipulate the entire collection of textured geometries within the scene graph simultaneously.

Does this approach support rendering perspective-projected geometry in WebGL?

Yes, rendering perspective-projected geometry in WebGL is supported using the PerspectiveMesh variant. It utilizes PerspectivePlaneOptions to define the API surface and accurately display perspective-projected visuals with applied textures or shaders.