enzed avatar

R3f Geometry

Covers the full geometry workflow in React Three Fiber, from basic shapes like boxes and spheres to custom BufferGeometry with manual vertex data. Shows you how to use built-in primitives with constructor args, create path-based shapes with lathe and extrude operations, and build dynamic meshes that animate via attribute manipulation. Includes Drei helpers for cleaner syntax and instancing patterns for rendering thousands of objects efficiently. The BufferGeometry examples are especially useful since you'll need to drop down to vertices and indices for anything beyond standard primitives, and the indexed geometry pattern saves memory when you're reusing vertices across triangles.

skills.sh installs
2.1K
GitHub stars
135
last updated
Aug 21, 2026

Install

$ npx -y skills add enzed/r3f-skills --skill r3f-geometry --agent claude-code

Installs into .claude/skills of the current project.

Files

React Three Fiber geometry

Inspect installed Three.js, Fiber, and Drei versions before copying constructor arguments or helper props. Examples target Fiber 9 / React 19 and Three.js r185.

Choose the representation

Sponsors

Details

Repository
github.com/enzed/r3f-skills
Categories
Frontend Development, Go
First seen
May 16, 2026

More from enzed/r3f-skills

All 11
1enzed avatarr3f-shadersenzed/r3f-skillsReact Three Fiber shaders - GLSL, shaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shader2.1Kskills.sh installs
2langgenius avatarbackend-code-reviewlanggenius/difyUse only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do no2.1Kskills.sh installs
3zernie avatartest-harnesszernie/vigilesInstall vigiles and test a Claude Code harness — hooks, skills, settings, CLAUDE.md — by picking the right tier (unit / deterministic / eval) and writing a test2.1Kskills.sh installs
4payloadcms avatarcms-migrationpayloadcms/skillsUse when user wants to migrate content from another CMS (WordPress, Contentful, Strapi, Sanity, Webflow, etc.) to Payload CMS2Kskills.sh installs
5nexu-io avatarredesign-existing-projectsnexu-io/open-designUpgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standards without bre2Kskills.sh installs
6jakubantalik avatartransitions-devjakubantalik/transitions-devProduction-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, numb2Kskills.sh installs