CommunityProgramación y desarrollogithub.com

cloudai-x/threejs-interaction

Interacción con Three.js: raycasting, controles, entrada de ratón/táctil, selección de objetos. Útil para manejar entrada de usuario, implementar detección de clics, añadir controles de cámara o crear experiencias 3D interactivas.

¿Qué es threejs-interaction?

El skill 'cloudai-x/threejs-interaction' proporciona funcionalidades clave para la interacción del usuario en escenas 3D creadas con Three.js. Se enfoca en el raycasting (disparo de rayos) para detectar objetos bajo el cursor o el toque, implementación de controles de cámara como OrbitControls, manejo de eventos de ratón y táctiles, y selección de objetos 3D. Es útil para desarrolladores que buscan añadir comportamientos interactivos como clics en modelos, arrastre de objetos, o navegación por la escena. El skill está diseñado para integrarse fácilmente en proyectos existentes de Three.js, ofreciendo una API simplificada y ejemplos de uso. Su documentación incluye fragmentos de código y configuraciones típicas para agilizar el desarrollo de experiencias 3D interactivas en la web.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cloudai-x/threejs-skills/tree/main/skills/threejs-interaction

Installed? Explore more Programación y desarrollo skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace threejs-interaction?

Interacción con Three.js: raycasting, controles, entrada de ratón/táctil, selección de objetos. Útil para manejar entrada de usuario, implementar detección de clics, añadir controles de cámara o crear experiencias 3D interactivas.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

cloudai-x/threejs-animation

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

cloudai-x/threejs-fundamentals

Three.js scene setup, cameras, renderer, Object3D hierarchy, coordinate systems. Use when setting up 3D scenes, creating cameras, configuring renderers, managing object hierarchies, or working with transforms.

cloudai-x/threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

cloudai-x/threejs-lighting

Three.js lighting - light types, shadows, environment lighting. Use when adding lights, configuring shadows, setting up IBL, or optimizing lighting performance.

cloudai-x/threejs-loaders

Three.js asset loading - GLTF, textures, images, models, async patterns. Use when loading 3D models, textures, HDR environments, or managing loading progress.

cloudai-x/threejs-materials

Three.js materials - PBR, basic, phong, shader materials, material properties. Use when styling meshes, working with textures, creating custom shaders, or optimizing material performance.

cloudai-x/threejs-postprocessing

Three.js post-processing - EffectComposer, bloom, DOF, screen effects. Use when adding visual effects, color grading, blur, glow, or creating custom screen-space shaders.

cloudai-x/threejs-shaders

Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.

cloudai-x/threejs-textures

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

Skills relacionados