The idea behind Sergio’s Room — my website turned into a 3D room (and why the first sketch was not good enough)
This project started as a 3D desk. Today it is “Sergio’s Room”, a story-driven game set in my room; this post tells how it started.
Imagine you open sergiolearns.com and, instead of a menu, you find yourself sitting on a chair. In front of you there is a monitor, a keyboard and a mug still giving off steam. Above it, a shelf with one book per subject. On the left, a whiteboard with the date of the next exam. On the right, the computer tower. You move the mouse and the camera follows you. You pick up a book, turn it round, open it and flip through its pages. That is what I had in my head, and this is the first chapter of how I am building it.
Sergio’s Room series · chapter 1 of 11. The whole project (goal, requirements, architecture, decisions and versions) is in the project report, which is updated with every chapter. Next up is chapter 2: the 3D prototype.
In short
Sergio’s Room (back then it was called the Desk Project) is my desk in 3D, seen in first person, inside my website. Everything from my degree is on the desk: the books for each subject on the shelf, the folders of notes in the drawer, the exam calendar on the whiteboard, the mock exams on discs that go into the tower and Sergio Bot in the steam from the mug. There are no buttons: you grab, turn, drag and drop, like in a game.
It grows version by version, and each version gets its own chapter in this series. I build it with Claude, Anthropic’s AI: the idea, the design, the decisions and the testing are mine; the code is written by Claude, which also tests it, measures it and documents it; and I write these chapters from that documentation. Further down I tell you in detail how we work, because it is part of the story.
This first chapter has no code: it tells where the idea came from, how it is built, what it has to achieve and why the first attempt did not work. This is what it looks like today, in version 0.2:
It is not on the website yet: it lives as a prototype until version 0.5. Meanwhile, each chapter shows its clips and its full code on GitHub.
Table of Contents
Where the idea comes from
The idea came to me very recently, at the end of October 2026, and it came all at once: I knew exactly what I wanted, an interactive space. My website (or part of it) seen through the eyes of someone sitting at their desk, in front of the keyboard and the screen, where everything is used with the mouse and everything has a smooth animation. Moving the mouse to the left and opening the drawer with the notes. Clicking on the screen and stepping into the computer’s desktop, with its apps. Total immersion as a person sitting in front of their PC.
What I was not sure about was how to do it on a website. For a few days it was just that, a loose idea with no specific use. I mentioned it in passing on 3 November, in the conversation where I was reviewing the whole website, and from there it started to take shape.
The references: looking without walking
The model is Five Nights at Freddy’s. In that game you do not walk: you sit in a fixed position, looking ahead, and the camera follows the cursor. If you move the mouse to one side, you look that way. That is all.
For what I wanted it is perfect, for a very simple reason: you do not have to learn how to move. Everyone knows how to move a mouse. In a game where you walk you have to learn keys, bump into walls and get lost. Here the chair does not move: up is the shelf, down is the drawer, left is the whiteboard and right is the tower.
Notice that the drawing has no arrow for “walking”. Everything you can do is within reach, and the only question is where you look.
If you ever design something interactive, start from what the user already knows how to do. Moving the mouse to look needs no instructions; a new way of moving does.
Why it is not “just another way to see the website”
This is where the important question came in: what do I give that desk so that it really adds something? If it is only a pretty 3D menu, it gets boring on the second visit. I wanted it to be a project of its own, living inside SergioLearns and growing over time. These are the three answers that stuck:
- A real Linux on the screen, with missions and video games that teach something from the degree.
- The operating system of the tools: every new tool on the website arrives as an app on the computer, with its version number.
- A living room that tells the story of the degree: the shelf fills up with what the website covers, the calendar marks the real exams and the light follows the time in the Canary Islands.
With that, the room stops being decoration and becomes a map of the website you can touch:
Each object is a door to a part of SergioLearns. And the real door, the one behind the chair, is the way out: it takes you back to the normal website.
The desk does not replace the website. The articles stay on their usual pages, for Google and for anyone who does not want 3D. The desk is another way in, not the only one.
How we build it: Claude and me
Let me say it clearly from the start: I had never programmed in JavaScript and I know little HTML. This project exists because I work with Claude, Anthropic’s AI. And since one of the goals of SergioLearns is to show how useful AI is when it is used well, I am not going to hide it in this series: I am going to tell it.
Who does what
| Who | What they do |
|---|---|
| Me | I imagine what I want and describe it in the conversations. I make the decisions (how each object is used, what is shown, what is not). I test each version with my own hands, on my laptop, and ask for changes. I write the chapters from the documentation Claude leaves |
| Claude | Suggests how to do it and asks me a round of questions before starting. It codes the prototype, tests it with automated scripts (which move the mouse, take screenshots and record the clips), measures the performance and documents everything: requirements, sketches, decisions, explained code snippets and measurements |
Notice that the arrows go back and forth. It is not “I ask for something and get it done”: it is a conversation where each of us does our part, and mine is the one that says what gets built.
The tools
| Tool | What I use it for |
|---|---|
| Conversations with Claude, in a claude.ai project | One conversation per version of the desk and another one to write the chapters. Each one starts with a prompt (the instructions) that sets up the next one |
| claude.ai artifacts | The prototype lives there as a private page I open in the browser, until it reaches the website in version 0.5 |
| A project folder | The idea (01-objetivo.md), the numbered proposals, the roadmap, the devlog and the material for each version |
| Testing and recording scripts | They open the prototype in a headless browser, move the mouse like a person and record the clips you see in these chapters |
| GitHub | All the code, version by version, so you can download it and open it |
An example: the first sketch
The first attempt (I tell it below) was a proposal from Claude: a flat 2.5D sketch, designed to be light. It was reasonable, but it was not what I had in my head, and I had to say so and describe the whole idea for the next attempt to be real 3D. That is the lesson: the AI proposes, but the idea has to be yours, and you have to stand up for it.
What the AI does not do for me
- Decide what I want. That the mug is Sergio Bot, that everything outside the computer is physical or that the door is behind you are my decisions.
- Judge whether something feels right. A drawer can work and still not “feel heavy”. I only know that by trying it.
- Test it for real. Automated tests catch bugs, but the frames per second on a real laptop are the ones I measured.
- Know what is missing. After each version, I am the one who writes the list of changes.
What it gives me
- Making real something I could not program on my own. That is why the project exists.
- Working by versions, and fast: an idea in the morning can be a prototype in the afternoon.
- Understanding how it works, because everything is documented and explained. These chapters are also my way of learning it.
AI is a reality, and it is a useful tool for making real what you want. If you want to do something similar, my advice is this: be clear about the idea and do not cut it down, make the decisions yourself, test everything with your own hands, ask for explanations of what you do not understand and write everything down.
What you need to know to follow the series
Chapters 2 and 3 explain the code, and they do it from scratch, but it helps to know what each piece is. A website is made with three languages, and the desk uses one more:
| Piece | What it is | What it does in the desk |
|---|---|---|
| HTML | The skeleton of a page: what is there (a title, a paragraph, a canvas to draw on) | It puts a canvas (<canvas>) on the page where the room is drawn and loads the program |
| CSS | The look: colours, sizes, fonts | The website’s colours, the dot that acts as the pointer, the text on the book pages |
| JavaScript | The browser’s programming language: what happens when you do something | Everything that moves: the camera, picking up a book, the drawer, the whiteboard |
| WebGL | The browser’s way of using the graphics card to draw in 3D | Drawing the room 60 times a second |
| three.js | A JavaScript library that makes WebGL easy: scenes, cameras, lights, shapes | The whole 3D side of the desk |
Never touched JavaScript? Neither had I, before this project. Chapters 2 and 3 have a “Before you start” section with the minimum you need to follow the code, and boxes that explain each new thing. I also have a JavaScript and HTML from scratch series on my roadmap, outside the university subjects; when it exists, I will link it from here.
What the project has to achieve
Before writing code, it pays to write down what “working” means. These are the principles I decided on 3 and 4 November:
- Clean: no buttons on screen. The instructions live inside the world, like a manual on the shelf.
- With your hands: you grab, drag and drop; one key to use something and Esc to go back.
- Physical outside, virtual inside: books, folders and the whiteboard belong to real life; the terminal only exists inside the computer.
- Properly animated: pages that curl, a drawer with weight, a disc that drops into the tray.
- Accessible: everything can be done with the keyboard and with the reduce motion setting.
And these are the requirements for the whole project, with the version each one arrives in:
| Requirement | How it will be checked | Version |
|---|---|---|
| Fixed view from the chair; the camera follows the cursor | Look at the shelf, drawer, whiteboard and tower with the mouse alone | v0.1 |
| Full turn, with a door behind you to go back to the website | Turn all the way round and leave through the door | v0.2 |
| No buttons on screen; manual inside the world; Esc to go back | Screenshots of every mode with no interface | v0.2 |
| Grab, turn, drag and drop every object, with animation | Go through every object with no pop-up windows | v0.2 |
| Everything usable with the keyboard and with “reduce motion” | A full run using only the keyboard | v0.2 |
| A PC with its own system, its own cursor and its apps | Open the system and use its apps | v0.3 |
| Video games that teach something from the degree, achievements as discoveries and no rankings | Play and unlock an achievement | v0.3 |
| Semi-realistic models, light and smooth on an ordinary laptop | 60 frames per second on a laptop | v0.4 |
Lives at /escritorio/, with the arrival at the chair and a mobile version | Get in from the website and from a phone | v0.5 |
| Uses the website’s real data and has a Linux with missions | Check that the shelf and the calendar change with the website | v0.6 |
The last column is the roadmap. Each version ticks off a few rows, and each chapter tells you how.
The first sketch: flat and cautious
The first attempt was not 3D. Claude proposed an illustrated desk in 2.5D: flat layers, one on top of another, and a zoom into the screen to get into the computer. The idea was for it to be light and cheap to make.
When I saw it, it was clear: it was not even 1 % of what I had imagined. I wanted real 3D. The camera moving with the cursor, picking up the books one by one and flipping their pages, opening the drawer, putting discs into the tower to launch the mock exams. Something like a game, but a virtual, interactive and smooth space.


Compare the two pictures. On the left, everything is stuck to the screen: it is a drawing. On the right there is depth, light and walls and, most importantly, you can look around. That difference was exactly what was missing.
When I saw the 3D prototype I loved it: I saw things reflected there that I wanted to make real from my head. It was not yet what I had imagined, but for the first time it looked like it.
The first sketch was “cautious”: performance and cost came before the idea itself. The result was light, yes, but it did not look like what I wanted. Before trimming an idea, listen to all of it; and if you work with an AI, tell it the whole idea, without trimming it yourself either.
Why it was dropped, in one table
| 2.5D sketch | 3D prototype | |
|---|---|---|
| What it is | Flat layers and a zoom | A room with a camera |
| Looking around | No | Yes, with the mouse |
| Grabbing an object and turning it | No | Yes |
| Size | Very small | Larger (the three.js library) |
| Does it look like the idea? | No | Finally, yes |
You pay for the size of three.js, but you pay once and you get a world in return. The next chapter tells how that prototype was built.
The starting decisions
| Decision | Alternatives | Why this one |
|---|---|---|
| Fixed position, like in Five Nights at Freddy’s | Walking around the room | Nobody has to learn how to move |
| Real 3D with three.js | The 2.5D sketch | The 2.5D did not look like the idea |
| A project that grows by versions | Doing it all at once | Each step can be tested and told |
| Documenting it from the start, as a series | Telling it at the end | What you do not write down at the time gets forgotten |
| Building it with Claude, and saying so | Learning JavaScript first; hiding the AI | That way it exists now, and showing how to use AI well is learning too |
| Off the website until v0.5 | Publishing it half-done | Nothing gets published half-done |
What I have learnt
- An idea is easier to understand by drawing the experience (where I am, what I see, what I touch) than by describing the technology.
- The fixed position removes the hardest problem of a 3D world: learning how to move.
- A personal project needs a reason why: the desk has to bring something the website does not have, or it stays as decoration.
- The cautious first sketch is not a failure: it helps you realise what you really want.
- With an AI, the idea and the decisions are still yours: it proposes and codes, but you decide what gets built.
What comes next
In chapter 2 I build the first 3D prototype: the room, the camera that follows the mouse, the ray that knows what you are pointing at and the first book that opens. And in chapter 3, version 0.2, I remove every button and the room starts to be used with your hands.
If you want to see the whole project at a glance, with all its decisions and its status, it is in the Sergio’s Room report. See you in the next chapter.
Keep goingAll Sergio's Room articlesDid this article help you? Here is how you can support SergioLearns →


