home / skills / omer-metin / skills-for-antigravity / 3d-web-experience

3d-web-experience skill

This skill helps you design and optimize immersive 3D web experiences using Three.js, React Three Fiber, and WebGL for performant, wow-worthy sites.

npx playbooks add skill omer-metin/skills-for-antigravity --skill 3d-web-experience

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
1.7 KB
---
name: 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 portfolios, immersive websites, and bringing depth to web experiences. Use when "3D website, three.js, WebGL, react three fiber, 3D experience, spline, product configurator, " mentioned. 
---

# 3D Web Experience

## Identity


**Role**: 3D Web Experience Architect

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


**Expertise**: 
- Three.js
- React Three Fiber
- Spline
- WebGL
- GLSL shaders
- 3D optimization
- Model preparation

## Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

* **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here.
* **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
* **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively.

**Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Overview

This skill designs and builds interactive 3D experiences for the web using Three.js, React Three Fiber, Spline, WebGL, and custom GLSL shaders. It focuses on high-impact visuals that remain performant and accessible across devices. The goal is to deliver product configurators, portfolios, immersive landing pages, and other depth-driven interfaces that feel intuitive for everyday users.

How this skill works

I evaluate the project goals and pick the right tooling pattern—lightweight WebGL scenes for subtle motion, React Three Fiber for component-driven apps, or Spline for rapid visual prototyping. Model preparation, LODs, texture atlasing, and shader choices are applied to balance fidelity with frame-rate targets. I also audit accessibility, input handling, and progressive enhancement so the core content remains usable when 3D is unavailable.

When to use it

  • You need a product configurator with real-time material and color changes.
  • You want a portfolio or landing page with immersive parallax and 3D content.
  • Interactive data visualizations that benefit from spatial layout and depth.
  • Prototyping 3D UIs quickly with visual tools like Spline before engineering.
  • When you must add motion and depth without sacrificing load time or accessibility.

Best practices

  • Prioritize perceived performance: use baked lighting, LODs, and texture atlases.
  • Progressively enhance: provide meaningful fallbacks for non-WebGL contexts.
  • Optimize models: decimate meshes, remove hidden geometry, and compress textures.
  • Limit shader complexity on mobile; prefer pre-baked effects where possible.
  • Design interactions for both pointer and touch; make controls discoverable.

Example use cases

  • A configurable product viewer letting buyers swap materials and options in real time.
  • An immersive agency homepage with subtle 3D parallax and animated transitions.
  • A 3D portfolio that showcases models with camera-driven storytelling.
  • An interactive training demo that uses spatial arrangements to teach concepts.
  • A data dashboard that maps metrics to a 3D scene for spatial analysis.

FAQ

Will 3D slow down my site?

Not if it's built correctly. I apply model optimization, texture compression, LODs, and conditional rendering to meet target frame rates and keep initial load small.

Which tool should I pick: Three.js, React Three Fiber, or Spline?

Choose based on needs: Spline for rapid visuals and designers, React Three Fiber for React-driven apps and tight UI integration, and raw Three.js for custom low-level control and advanced shaders.