threejs-geometry

Build Three.js BufferGeometry with attributes, indices, normals, and instancing.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/mitgar14/app-embebidos --skill threejs-geometry-mitgar14
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-geometry
Source: https://github.com/mitgar14/app-embebidos/tree/main/.claude/skills/threejs-geometry
Command: npx skills add https://github.com/mitgar14/app-embebidos --skill threejs-geometry-mitgar14

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you choose, create, and optimize Three.js geometry when you need reliable mesh construction, custom vertex layouts, or efficient rendering for 3D scenes.

Core Features & Use Cases

  • Built-in primitives: Use common shapes like boxes, spheres, torus knots, and polyhedra when you need fast, standard meshes.
  • Custom geometry creation: Build BufferGeometry with positions, indices, normals, UVs, colors, and interleaved attributes for tailored models.
  • Performance-focused rendering: Use instancing, merged geometries, wireframes, edges, and point clouds to reduce draw calls and improve scene performance.
  • Practical 3D tasks: Ideal for procedurally generated assets, interactive scenes, scientific visualizations, and reusable object systems.

Quick Start

Help me create the right Three.js geometry for my 3D object, then show how to render it efficiently and adjust it for performance or customization.

Frequently Asked Questions about threejs-geometry

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

FAQPage Schema
How do I create custom Three.js BufferGeometry with positions, normals, and UVs?

To create custom Three.js BufferGeometry, you define vertex positions, indices, normals, and UVs as attributes. This Skill structures these custom vertex layouts and interleaved attributes to build tailored models for 3D meshes.

What is the best way to optimize Three.js mesh rendering for many objects?

The best way to optimize Three.js mesh rendering is through instancing and merged geometries. This Skill applies these techniques to significantly reduce draw calls and improve overall scene performance for complex 3D objects.

How do I use Three.js primitives like boxes and spheres for fast mesh generation?

You use Three.js primitives like boxes, spheres, and polyhedra for fast mesh generation by selecting standard shapes. This Skill helps you choose the right built-in primitives when you need quick, reliable meshes.

Can I generate point clouds and line systems using Three.js BufferGeometry?

Yes, you can generate point clouds and line systems using Three.js BufferGeometry. This Skill supports authoring these path-based shapes and wireframes to handle diverse 3D rendering tasks and custom vertex data.

Does Three.js geometry require bounding calculations for efficient rendering?

Three.js geometry does require correct bounding calculations for efficient rendering. This Skill ensures you properly apply geometry attributes, indices, and bounding data to maintain performance and accurate 3D scene rendering.