Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

threejs-interaction · calesthio — Claude Code skill: setup and features

Ready-made patterns for Three.js user input, raycasting, and camera controls. Helps add object picking and touch detection to 3D scenes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add calesthio/OpenMontage --skill threejs-interaction -a claude-code
Open on GitHub

What threejs-interaction does

The skill provides integration patterns for handling user interactions in Three.js. It details Raycaster setup for mouse and touch coordinates, layer-based object filtering, and camera navigation controls. Supported controls include OrbitControls, FlyControls, FirstPersonControls, PointerLockControls, and TrackballControls.

Picking breaks on embedded canvases whenever container offsets are ignored. Developers must calculate normalized device coordinates using getBoundingClientRect(). The skill supplies conversion routines for full-screen viewports and isolated DOM canvas elements.

Features like damping in OrbitControls stop working without an active update call inside the render loop. Rapid pointer events also demand throttling. The guide recommends limiting raycast checks during hover events to preserve frame rates.

What it helps with

  • detect clicks and taps on 3D meshes using Raycaster
  • convert mouse coordinates from custom canvas elements into normalized space
  • set up smooth camera movement with OrbitControls
  • throttle hover raycasting to prevent frame drops

Example prompts for the agent

  • Set up click detection on meshes using Raycaster for an embedded canvas element
  • Add OrbitControls with damping and rotation limits to the scene
  • Configure FirstPersonControls with movement speed and vertical constraints

How to install threejs-interaction

1Skills CLI (Vercel)

npx skills add calesthio/OpenMontage --skill threejs-interaction -a claude-code

2Manually: put the files in place

~/.claude/skills/threejs-interaction/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/threejs-interaction/

From the same set28

The whole set →
video-understand calesthio This skill extracts video frames and transcribes audio locally with ffmpeg and Whisper. Use it to inspect video content without API keys. Claude Code CX Codex Cursor +1 1,300installs remotion calesthio Teaches AI agents toolkit-specific Remotion patterns, including custom transition shaders and 30 fps video rules. Claude Code CX Codex Cursor +1 1,200installs video-download calesthio Uses yt-dlp to fetch video, audio, subtitles, or URL metadata. Use it when you need a local file, a selected resolution, or details without downloading media. Claude Code CX Codex Cursor +1 1,200installs lottie-bodymovin calesthio Applies Disney's 12 animation principles to Lottie vector animations. Bridges After Effects setup with runtime JavaScript controls. Claude Code CX Codex Cursor +1 1,100installs create-video calesthio This skill turns a description into a finished video: write what you want to see, and HeyGen generates the script, picks an avatar, adds voiceover and editing. Good for quick demos, explainers and promos without tweaking every detail. Claude Code CX Codex Cursor +1 1,100installs video-toolkit calesthio Automates video creation: generates voiceovers, background music, animates talking heads, and composes scenes with Remotion. Requires Node.js, Python3, ffmpeg, and cloud GPU access (Modal or RunPod). Claude Code CX Codex Cursor +1 1,100installs text-to-speech calesthio Generates speech audio with HeyGen Starfish and lets you choose a voice, speed, and pitch. Useful for voiceovers, narration, and podcasts. Claude Code CX Codex Cursor +1 1,100installs bfl-api Black Forest Labs This skill helps connect BFL FLUX API for image generation and editing. It covers async requests, polling, rate limits, and webhooks. Claude Code CX Codex Cursor +1 1,000installs

Other versions of threejs-interaction

Similar

co-op-game-intro-generator MiniMax-AI Generates opening menu animations for two-player co-op games. It locks character identity cues, arranges UI elements, and formats prompts for MiniMax H3. Claude Code CX Codex Cursor +1 3,300installs controlnet-pose prime-skills A skill for controlling pose and motion in video and image generation via RunComfy. Transfer movement from a source video to a target character, animate by pose, or generate images with depth or skeleton control. Claude Code CX Codex Cursor +1 377,000installs game-developer https://github.com/Jeffallan Skill for game development in Unity and Unreal Engine. Builds game systems, configures physics, multiplayer networking, shaders, and optimizes performance to 60+ FPS. Claude Code CX Codex Cursor +1 6,400installs shader-dev MiniMax-AI GLSL reference skill covering 36 real-time shader techniques for ShaderToy and WebGL2. Helpful for ray marching, SDF scenes, fluids, and visual effects. Claude Code CX Codex Cursor +1 2,500installs game-setup-and-config phaserjs Guides agent setup for Phaser 4 instances and GameConfig options. Useful when configuring renderers, canvas scaling, FPS caps, and pixel art settings. Claude Code CX Codex Cursor +1 1,200installs sprites-and-images phaserjs Guides agents on creating Sprite and Image objects in Phaser 4. Explains factory methods, texture frames, mixin components, and visual transforms. Claude Code CX Codex Cursor +1 1,100installs orbit-card heygen-com Adds a 10-second 1920×1080 HyperFrames motion block where a single feature card orbits a dot sphere using exported Blender camera paths. Claude Code CX Codex Cursor +1 9,800installs sdf earthtojake This skill authors and validates SDFormat files for models and worlds, then helps prepare them for simulator handoff. Claude Code CX Codex Cursor +1 10,500installs

Questions about threejs-interaction

How to install threejs-interaction in Claude Code?

Run npx skills add calesthio/OpenMontage --skill threejs-interaction -a claude-code. This installs the skill file into your agent environment.

Which camera controls does the skill cover?

It includes configurations for OrbitControls, FlyControls, FirstPersonControls, PointerLockControls, and TrackballControls.

Why does raycasting fail on embedded canvas elements?

Standard window-based formulas ignore container offsets on the page. The skill provides formulas using getBoundingClientRect() to calculate accurate normalized coordinates.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor