Course 07 · Lesson 2 of 13
What Is a 3D Website
Most websites exist in two dimensions. Width and height. Everything sits flat on the screen like a piece of paper.
A 3D website adds a third dimension which is depth. Objects appear to come toward you or recede away. Things rotate in space. Scenes feel like environments you are looking into rather than pages you are reading.
What creates the 3D effect
Two technologies create 3D on the web.
WebGL is a low-level graphics API that gives browsers direct access to your device's GPU which is your graphics card. The same hardware that renders video games renders WebGL. It is what makes high-quality real-time 3D possible in a browser tab.
Three.js is a JavaScript library that sits on top of WebGL and makes it usable without needing to understand graphics programming. Three.js turns complex 3D concepts into commands like "create a sphere here, rotate it at this speed, colour it this shade."
You will not write any Three.js code. Claude does. But knowing what it is explains why 3D websites are possible at all.
The canvas layer
In a 3D website the 3D scene lives inside a canvas element. Think of it as a window through which you view a 3D world.
This canvas is usually placed behind all your page content so your text and buttons appear on top of the 3D scene, fixed to the viewport so it stays in place as you scroll, and full-screen so it covers the entire background.
Your regular HTML content including headings, paragraphs, and buttons sits above the canvas at a higher layer. The 3D scene provides the environment. The HTML provides the content.
What feels 3D versus what is actually 3D
There are two levels of 3D on the web.
CSS 3D transforms feel 3D and require no library. Pure CSS can create perspective effects such as cards that flip, elements that rotate on hover, and text that appears to tilt. It is not true 3D but rather 2D elements transformed in a way that simulates depth. It is fast, simple, and impressive at small scale but limited to transforming HTML elements.
WebGL and Three.js create something that is actually 3D. A real 3D scene with objects, lights, cameras, physics, and particle systems where objects genuinely exist in three-dimensional space. The limitation is that it requires a JavaScript library and is more complex to build, but Claude handles all of that.
This course teaches both and shows you which one to use for which effect.
What you can build
Card flip on hover uses CSS 3D transforms and has low complexity. Parallax depth on scroll uses CSS 3D with a small amount of JavaScript and has low complexity. A particle field background uses Three.js and has medium complexity. A rotating sphere or crystal uses Three.js and has medium complexity. A mouse-reactive 3D scene uses Three.js and has medium complexity. Scroll-driven 3D animation uses Three.js with GSAP and has medium to high complexity. An interactive 3D product view uses Three.js and has high complexity.
Everything at medium complexity and below is achievable in one Claude Code session with the right prompt.
Why 3D websites stand out
The average website uses HTML and CSS. The above-average website adds thoughtful typography and colour. The exceptional website uses motion and 3D to create an experience.
When a visitor lands on a page with a particle system moving around their cursor, or a geometric form slowly rotating in the background, the site signals something: this was built with intention and craft. It is memorable in a way that a standard website is not.
For consultants, agencies, portfolio builders, and product creators that memorability translates directly into trust and client conversion.
Your action right now
Spend five minutes looking at these sites for 3D inspiration.
Awwwards.com filtered by "3D" shows the absolute best in web 3D design. Bruno Simon's portfolio, which you can find by searching "Bruno Simon Three.js," is the most impressive 3D portfolio ever built. Apple.com product pages show subtle 3D scroll effects done with enormous craft and restraint.
Note down one effect that genuinely impresses you. That is the direction for your project in this course.
Do it with other builders
Post your homework. Get unstuck.
Every course ends with homework. Post yours in Claude Codex Mastery, the community this course comes from, and get feedback from Yar and 400+ people building the same way.
Join the community · $29/mo