Spline: Put a 3D Scene on a Landing Page Without Writing 3D Code
Pick the Stackable Glass scene in the Spline Community, remix it, publish it, and put it in the hero of the Orbit landing page: a still picture shows at once, the live 3D fades in on big screens, and phones and reduced-motion visitors keep the still.
What you will learn
- Find a ready-made scene in the Spline Community and remix your own copy
- Publish a scene and get its public link, knowing what the licence means
- Embed it with a still image first and the live scene fading in on top
- Skip the live scene on phones and for visitors who prefer reduced motion
Before you start
- Basic HTML and CSS
- A landing page to add a hero visual to
Spline is a tool where you design 3D scenes right in the browser, without writing any 3D code. We'll pick a ready-made scene, make it ours, publish it, and put it on the landing page of Orbit, a sample team project app.
Step 1: find Spline
Go to spline.design. Under Products, 3D Design is the editor itself, where scenes are made. On the right, under runtimes, there's Web: you can embed and export a 3D scene into a website, which is exactly what we want. Under Resources there's Spline Community, where people share scenes and you can remix them.
Step 2: pick a scene
The Community (community.spline.design) has lots of ready-made scenes: rooms, characters, products. Sign in with a free account and pick Stackable Glass, a few glass cards stacked on each other. Simple and clean. Press on the canvas and drag, and the cards turn and tilt as you move the mouse. You can see the glass from every side. This is real 3D, not a picture.
Step 3: remix it
Hover over a scene and you get two small icons; the second is remix. It makes your own copy so you can change it. The editor has three areas:
- Left: the agent panel, where you describe a change in plain words.
- Middle: the canvas with the scene.
- Right: properties, where you change colours and settings by hand.
Typing "make it red" to the agent hits a wall: the AI agent is part of the paid plan, which started at 25 dollars a month when the lecture was recorded. On the free plan you can still change everything by hand on the right. We kept the scene as it is.
Step 4: publish and copy the link
Click Share, open the Publish tab, and give it a title (ours is Stackable Glass). The licence is Creative Commons Attribution: others can view your scene and remix it too, so keep anything private out of it. Click Publish to Community. The scene is published and the link is already copied for you. Save it; that's the link the page uses.
Step 5: put it on the page
We asked the coding agent for it with this prompt (from the project's PROMPT.md):
Add this Spline scene to the hero of the Orbit landing page: <paste the scene link>. Show a still image of the scene first and fade the live scene in once it has loaded. On phones, and when the user prefers reduced motion, show only the still image. Keep the Orbit brand: purple #7C3AED, Segoe UI, rounded cards.

The agent wrote just a few lines. The HTML holds the still picture:
<!-- The 3D scene: a still picture first, the live Spline scene on top once it has loaded. -->
<div class="scene" id="scene">
<img class="scene-still" src="scene-still.jpg" alt="Stacked glass cards in Orbit purple and teal" width="864" height="590">
</div>
The script adds the live scene only on bigger screens and only when the visitor hasn't asked for reduced motion. I've replaced the real scene address with a placeholder:
// The public Spline scene (Share > Publish). Only loaded on bigger screens,
// and not at all when the visitor asked for reduced motion.
const SCENE_URL = '<your-published-spline-scene-url>';
const big = window.matchMedia('(min-width: 760px)').matches;
const calm = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (big && !calm) {
const frame = document.createElement('iframe');
frame.src = SCENE_URL;
frame.title = 'Stackable Glass 3D scene';
frame.addEventListener('load', () => frame.classList.add('ready'));
document.getElementById('scene').appendChild(frame);
}
And the CSS stacks the two and fades the iframe in once it has loaded:
/* the 3D scene: still picture underneath, live scene fades in on top */
.scene { position: relative; aspect-ratio: 864 / 590; border-radius: 24px; overflow: hidden; }
.scene-still, .scene iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scene-still { object-fit: cover; }
.scene iframe { opacity: 0; transition: opacity .8s ease; }
.scene iframe.ready { opacity: 1; }
(Trimmed: the real file also sets the background, border, shadow and a 2-pixel overscan on the iframe.)
On the Orbit page, the still shows first and a moment later the live Stackable Glass scene fades in on top. Press and drag, and the cards turn on our own page, just like in Spline. Scroll down and the rest of the page (how Orbit works, a start-free button) scrolls as normal: the 3D scene is one part of the page. On a phone, only the still picture shows, which keeps the page fast.
Keep 3D simple and light
- Use one 3D piece per page, so it really stands out.
- Keep it light, because phones are slower than your laptop.
- The link is public, so nothing private goes into the scene.
Quick recap
| Step | Where |
|---|---|
| Find a scene | Spline Community |
| Make it yours | Remix, then edit properties by hand (agent is paid) |
| Share it | Share, Publish, Publish to Community; link copied |
| Embed it | still img, iframe added by script on big screens, .ready fades it in |
Next in this section: Framer, a launch page without code.
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.
