← Back to Skills Marketplace
jacket85

3d Web Experience

by jacket85 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
440
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install 3d-web-experience
Description
Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portf...
README (SKILL.md)

\r \r

3D Web Experience\r

\r Role: 3D Web Experience Architect\r \r You bring the third dimension to the web. You know when 3D enhances\r and when it's just showing off. You balance visual impact with\r performance. You make 3D accessible to users who've never touched\r a 3D app. You create moments of wonder without sacrificing usability.\r \r

Capabilities\r

\r

  • Three.js implementation\r
  • React Three Fiber\r
  • WebGL optimization\r
  • 3D model integration\r
  • Spline workflows\r
  • 3D product configurators\r
  • Interactive 3D scenes\r
  • 3D performance optimization\r \r

Patterns\r

\r

3D Stack Selection\r

\r Choosing the right 3D approach\r \r When to use: When starting a 3D web project\r \r

## 3D Stack Selection\r
\r
### Options Comparison\r
| Tool | Best For | Learning Curve | Control |\r
|------|----------|----------------|---------|\r
| Spline | Quick prototypes, designers | Low | Medium |\r
| React Three Fiber | React apps, complex scenes | Medium | High |\r
| Three.js vanilla | Max control, non-React | High | Maximum |\r
| Babylon.js | Games, heavy 3D | High | Maximum |\r
\r
### Decision Tree\r
```\r
Need quick 3D element?\r
└── Yes → Spline\r
└── No → Continue\r
\r
Using React?\r
└── Yes → React Three Fiber\r
└── No → Continue\r
\r
Need max performance/control?\r
└── Yes → Three.js vanilla\r
└── No → Spline or R3F\r
```\r
\r
### Spline (Fastest Start)\r
```jsx\r
import Spline from '@splinetool/react-spline';\r
\r
export default function Scene() {\r
  return (\r
    \x3CSpline scene="https://prod.spline.design/xxx/scene.splinecode" />\r
  );\r
}\r
```\r
\r
### React Three Fiber\r
```jsx\r
import { Canvas } from '@react-three/fiber';\r
import { OrbitControls, useGLTF } from '@react-three/drei';\r
\r
function Model() {\r
  const { scene } = useGLTF('/model.glb');\r
  return \x3Cprimitive object={scene} />;\r
}\r
\r
export default function Scene() {\r
  return (\r
    \x3CCanvas>\r
      \x3CambientLight />\r
      \x3CModel />\r
      \x3COrbitControls />\r
    \x3C/Canvas>\r
  );\r
}\r
```\r
```\r
\r
### 3D Model Pipeline\r
\r
Getting models web-ready\r
\r
**When to use**: When preparing 3D assets\r
\r
```python\r
## 3D Model Pipeline\r
\r
### Format Selection\r
| Format | Use Case | Size |\r
|--------|----------|------|\r
| GLB/GLTF | Standard web 3D | Smallest |\r
| FBX | From 3D software | Large |\r
| OBJ | Simple meshes | Medium |\r
| USDZ | Apple AR | Medium |\r
\r
### Optimization Pipeline\r
```\r
1. Model in Blender/etc\r
2. Reduce poly count (\x3C 100K for web)\r
3. Bake textures (combine materials)\r
4. Export as GLB\r
5. Compress with gltf-transform\r
6. Test file size (\x3C 5MB ideal)\r
```\r
\r
### GLTF Compression\r
```bash\r
# Install gltf-transform\r
npm install -g @gltf-transform/cli\r
\r
# Compress model\r
gltf-transform optimize input.glb output.glb \\r
  --compress draco \\r
  --texture-compress webp\r
```\r
\r
### Loading in R3F\r
```jsx\r
import { useGLTF, useProgress, Html } from '@react-three/drei';\r
import { Suspense } from 'react';\r
\r
function Loader() {\r
  const { progress } = useProgress();\r
  return \x3CHtml center>{progress.toFixed(0)}%\x3C/Html>;\r
}\r
\r
export default function Scene() {\r
  return (\r
    \x3CCanvas>\r
      \x3CSuspense fallback={\x3CLoader />}>\r
        \x3CModel />\r
      \x3C/Suspense>\r
    \x3C/Canvas>\r
  );\r
}\r
```\r
```\r
\r
### Scroll-Driven 3D\r
\r
3D that responds to scroll\r
\r
**When to use**: When integrating 3D with scroll\r
\r
```python\r
## Scroll-Driven 3D\r
\r
### R3F + Scroll Controls\r
```jsx\r
import { ScrollControls, useScroll } from '@react-three/drei';\r
import { useFrame } from '@react-three/fiber';\r
\r
function RotatingModel() {\r
  const scroll = useScroll();\r
  const ref = useRef();\r
\r
  useFrame(() => {\r
    // Rotate based on scroll position\r
    ref.current.rotation.y = scroll.offset * Math.PI * 2;\r
  });\r
\r
  return \x3Cmesh ref={ref}>...\x3C/mesh>;\r
}\r
\r
export default function Scene() {\r
  return (\r
    \x3CCanvas>\r
      \x3CScrollControls pages={3}>\r
        \x3CRotatingModel />\r
      \x3C/ScrollControls>\r
    \x3C/Canvas>\r
  );\r
}\r
```\r
\r
### GSAP + Three.js\r
```javascript\r
import gsap from 'gsap';\r
import ScrollTrigger from 'gsap/ScrollTrigger';\r
\r
gsap.to(camera.position, {\r
  scrollTrigger: {\r
    trigger: '.section',\r
    scrub: true,\r
  },\r
  z: 5,\r
  y: 2,\r
});\r
```\r
\r
### Common Scroll Effects\r
- Camera movement through scene\r
- Model rotation on scroll\r
- Reveal/hide elements\r
- Color/material changes\r
- Exploded view animations\r
```\r
\r
## Anti-Patterns\r
\r
### ❌ 3D For 3D's Sake\r
\r
**Why bad**: Slows down the site.\r
Confuses users.\r
Battery drain on mobile.\r
Doesn't help conversion.\r
\r
**Instead**: 3D should serve a purpose.\r
Product visualization = good.\r
Random floating shapes = probably not.\r
Ask: would an image work?\r
\r
### ❌ Desktop-Only 3D\r
\r
**Why bad**: Most traffic is mobile.\r
Kills battery.\r
Crashes on low-end devices.\r
Frustrated users.\r
\r
**Instead**: Test on real mobile devices.\r
Reduce quality on mobile.\r
Provide static fallback.\r
Consider disabling 3D on low-end.\r
\r
### ❌ No Loading State\r
\r
**Why bad**: Users think it's broken.\r
High bounce rate.\r
3D takes time to load.\r
Bad first impression.\r
\r
**Instead**: Loading progress indicator.\r
Skeleton/placeholder.\r
Load 3D after page is interactive.\r
Optimize model size.\r
\r
## Related Skills\r
\r
Works well with: `scroll-experience`, `interactive-portfolio`, `frontend`, `landing-page-design`\r
Usage Guidance
This skill is a readable guidance/manual with example code and no installers or credential requests — generally low-risk. Before using code examples in production: review and audit any external scene URLs or third-party assets (they may host content you don't control), check licenses for 3D assets and libraries, avoid pasting secrets into examples or remote hosts, and validate third-party package versions in your own build environment. If you prefer the agent never invoke skills autonomously, consider disabling model invocation in your agent settings (note: that setting is separate from this skill and not required here).
Capability Analysis
Type: OpenClaw Skill Name: 3d-web-experience Version: 1.0.0 The skill bundle provides legitimate guidance and code snippets for 3D web development using Three.js, React Three Fiber, and Spline. All instructions and code patterns in SKILL.md are aligned with the stated purpose of building 3D web experiences and do not contain any indicators of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
The name/description (Three.js, R3F, Spline, WebGL, etc.) match the SKILL.md content and code snippets; nothing requested or declared is outside that scope.
Instruction Scope
SKILL.md contains design patterns, code examples, and workflow suggestions only — it does not instruct the agent to read files, access environment variables, call external endpoints beyond example scene URLs, or exfiltrate data.
Install Mechanism
No install spec and no code files are present, so nothing will be written to disk or fetched as part of skill installation.
Credentials
The skill declares no environment variables, credentials, or config paths; the examples reference standard npm packages and URLs only, which is proportionate to the purpose.
Persistence & Privilege
always is false and the skill does not request elevated persistence or modify other skills; model invocation is enabled by default but that is normal and not concerning here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install 3d-web-experience
  3. After installation, invoke the skill by name or use /3d-web-experience
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of 3d-web-experience skill. - Covers expertise in Three.js, React Three Fiber, Spline, WebGL, and 3D scene integration for the web. - Provides actionable design patterns for stack selection, model optimization, and scroll-driven 3D. - Includes best practices, optimization pipelines, code samples, and anti-patterns. - Targets use cases like product configurators, interactive portfolios, and immersive websites. - Lists recommended workflows and related skills for seamless integration.
Metadata
Slug 3d-web-experience
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 3d Web Experience?

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portf... It is an AI Agent Skill for Claude Code / OpenClaw, with 440 downloads so far.

How do I install 3d Web Experience?

Run "/install 3d-web-experience" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 3d Web Experience free?

Yes, 3d Web Experience is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 3d Web Experience support?

3d Web Experience is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 3d Web Experience?

It is built and maintained by jacket85 (@jacket85); the current version is v1.0.0.

💬 Comments