preview-threejs
Preview Three.js Skill
Interactive Three.js 3D visualization viewer with pre-configured scene, camera, lighting, and orbit controls.
Agent Usage
When the user asks to create a 3D visualization, write the Three.js code and pipe it to the script. Use the Bash tool to execute this skill's run.sh script:
# Pipe Three.js code
cat scene.js | ./run.sh
# Or from a file
./run.sh model.threejs
The script handles all HTML generation and automatically opens the result in the browser. Do NOT open the file manually to avoid duplicate tabs.
Usage
More from veelenga/preview-skills
preview-leaflet
Create interactive maps with markers, routes, and geographic data using Leaflet
40preview-mermaid
Render and preview Mermaid diagrams in browser with support for flowcharts, sequence diagrams, class diagrams, and more
2preview-markdown
Render and preview Markdown files in browser with GitHub-flavored formatting and syntax highlighting
2preview-diff
Git diff preview tool with GitHub-style formatting and interactive features
2preview-json
Render and preview JSON files in browser with syntax highlighting, collapsible tree view, and search
2preview-csv
Render and preview CSV files in browser with interactive sorting, filtering, and column statistics
2