threejsBuild 3D web experiences with proper resource management and performance patterns.
Install via ClawdBot CLI:
clawdbot install ivangdavila/threejsRequires:
.dispose() on geometries, materials, and textures before removing objects — Three.js never garbage collects GPU resources automaticallymesh.geometry.dispose(); mesh.material.dispose(); scene.remove(mesh) — missing any step causes memory leaksrenderer.setAnimationLoop(animate) instead of manual requestAnimationFrame — it handles VR, pauses when tab is hidden, and provides proper timingclock.getDelta() for frame-independent movement — raw frame counting breaks on different refresh ratescamera.aspect = width/height; camera.updateProjectionMatrix(); renderer.setSize(width, height)updateProjectionMatrix() after aspect change causes stretched/squished renderingrenderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)) — values above 2 kill performance with minimal visual benefitimport { OrbitControls } from 'three/addons/controls/OrbitControls.js' — the path varies by bundler, check your setupcontrols.enableDamping = true with OrbitControls and call controls.update() in render loop — without this, damping silently failsnew THREE.AmbientLight(0xffffff, 0.5)) as baseline — scenes with only directional lights have pitch-black shadowsBufferGeometryUtils.mergeBufferGeometries() — each mesh is a draw call, fewer meshes = fasterInstancedMesh for many identical objects — hundreds of draw calls become oneobject.frustumCulled = true (default) but verify large objects aren't disappearing at edges — bounding sphere may be wrongrenderer.info to debug draw calls, triangles, and textures in memorymixer.update(delta) every frame with actual delta time — passing 0 or skipping frames breaks animationsSkeletonHelper during development to debug bone issuesGenerated Mar 1, 2026
Interactive 3D product viewers for online stores, allowing customers to rotate, zoom, and examine products from all angles. This enhances customer confidence and reduces return rates by providing accurate visual representation before purchase.
Interactive 3D building models and interior spaces for real estate developers and architects. Clients can virtually walk through properties, change materials/colors, and visualize lighting conditions at different times of day.
Interactive 3D models for STEM education, medical training, or industrial equipment operation. Students can manipulate complex systems, view cross-sections, and practice procedures in a risk-free virtual environment.
Three-dimensional representations of complex datasets for business intelligence and analytics. This allows users to explore multi-dimensional data through interactive 3D charts, graphs, and spatial relationships.
Engaging 3D web experiences for brand campaigns, product launches, or event promotions. These immersive experiences increase user engagement time and social sharing through interactive elements and animations.
Subscription-based platform providing 3D visualization tools for e-commerce businesses. Customers pay monthly fees based on usage tiers, number of products, or API calls. Includes hosting, maintenance, and regular feature updates.
Bespoke 3D web application development for enterprise clients. Projects are priced based on complexity, scope, and ongoing maintenance requirements. Additional revenue from training, support contracts, and feature enhancements.
Platform selling pre-built 3D models, components, and templates to developers and designers. Revenue comes from commission on sales, premium subscriptions for advanced features, and custom commission services.
💬 Integration Tip
Start with a simple scene using basic geometries and lighting before adding complex models. Implement proper resource cleanup from the beginning to prevent memory leaks in production applications.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Provides a 7-step debugging protocol plus language-specific commands to systematically identify, verify, and fix software bugs across multiple environments.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.