Three.js: What It Can Do on Real Sites, and How to Let Your AI Agent Use It
Three.js is the JavaScript library behind many of the 3D sites you've seen. Browse the gallery on threejs.org, look at igloo.inc and Montblanc's The Run, then hand a link to your coding agent and ask it to build something similar with Three.js, keeping it light.
What you will learn
- Say what Three.js is and where its showcase lives
- Recognise Three.js work on real sites such as igloo.inc and The Run
- Ask a coding agent for a similar 3D piece by pointing it at an example and naming Three.js
- Keep 3D light, because load time depends on scene size and the visitor's connection
Before you start
- A web page you build with a coding agent
Three.js is a JavaScript library that draws 3D right in the browser, and a lot of the striking 3D websites you see are built with it. This short lesson shows what it can do on real sites, and how to let your AI agent use it for you. Spline and Framer (the two lessons before this) let you avoid 3D code; Three.js is what you reach for when you want the code itself.
Step 1: find Three.js
Search for "threejs". The first result is the official one, Three.js, JavaScript 3D Library, at threejs.org. The home page itself is a gallery: every tile is a real project built with Three.js, from games and product pages to art. You don't need to download anything by hand. Ask your AI agent to use Three.js, and it adds it to your project for you.
Step 2: see it on real websites
- igloo.inc is a popular one. It takes a few seconds to load, because 3D is heavier than a normal page. The igloo reacts to your mouse, builds itself as you scroll, and the whole page moves in 3D.
- The Run, by Montblanc, is a game in the browser. You roll a ball along a track, through rings, and everything you see is drawn by Three.js in the page.
Step 3: let the agent use it
You don't have to learn every part of the library. Find a site you like, paste its link to your AI agent, and ask it to build a similar 3D piece for your page using Three.js.
Keep it light
A heavy 3D scene takes time to load, depending on its size and the visitor's internet speed. Later lessons in this part build real Three.js pages with that in mind: a 3D product page and a 3D portfolio room, both of which show phones a still picture first.
Quick recap
- Find an example on threejs.org.
- Ask the agent, and say "use Three.js".
- Keep it light.
StudyEasy AI Community
Learn AI engineering, share what you build, and connect with other learners.
Free resources: lesson files, notebooks and code
Ask questions and join engineering discussions
Meet real people learning and building with AI
Related course on Udemy
The Python Architect Masterclass: Full Stack to AI Engineer
Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)Related posts
Backend vs Frontend: What Runs Where, and Why the Server Is the One You Trust
Every web app has two halves. The front end runs on the user's device and is trusted with nothing; the back end holds the data, the secrets and the rules. Checked with real requests to a Django blog.
One Request, Two Answers: the Same Post as an HTML Page and as JSON
Ask a Django blog for the same post twice: once as a 12,731-byte HTML page built by a template, once as 2,976 bytes of JSON built by a serializer. Compare the headers, see who builds the page, and why the server still owns every write.
A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx
Make a blog design from a prompt in Figma Make, download src.zip, unzip it with Python's zipfile module, and read the two files that matter: App.tsx with its selectedPost state and BlogCard.tsx with its props.
How a Web Page Works: HTML Tags, Elements and Attributes
A web page is a text file full of labelled pieces. Learn tags, attributes and nesting with three tiny pages, and see what breaks when an attribute or a closing tag is wrong.
