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:

Version 0.2: I put the FP1 mock exam disc into the tower, pick up the FP1 book, turn it round and flip its pages by dragging.

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.

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.

Fixed position: look with the mouseA monitor in the center and four arrows: up is the shelf, down the drawer, left the whiteboard and right the tower. The mouse pointer decides where the camera looks.monitorup: the shelfdown: the drawerleft: the whiteboardright: the towerthe mouseYou do not walk: the chair stays put and the camera follows the mouse.
Like in Five Nights at Freddy's: you do not learn to move, only to look.

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:

  1. A real Linux on the screen, with missions and video games that teach something from the degree.
  2. The operating system of the tools: every new tool on the website arrives as an app on the computer, with its version number.
  3. 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:

The room as a map of the websiteFrom the chair, in the center, each object holds a part of SergioLearns: the shelf with the books, the monitor with SergioLearns OS, the tower with discs and USB sticks, the whiteboard with the calendar, the disc case and pen pot with mock exams and simulators, the drawer with the folders, the mug with Sergio Bot and, behind you, the door back to the website.you, inthe chairShelfone book per subjectMonitorSergioLearns OSTowerdiscs and USB sticksWhiteboardexams and question of the dayDisc case and pen potmock exams and simulatorsDrawerfolders of notesMugSergio Bot in the steamDoor (behind you)back to the website
Every object on the desk is a part of the website; the door, in coral, is the way out.

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

How Claude and I workTwo columns, Sergio and Claude, with seven steps going back and forth: Sergio imagines and decides; Claude proposes and asks; Sergio answers; Claude codes, tests and measures; Sergio tests and asks for changes; Claude documents; Sergio writes the chapters from that documentation.SergioClaude (Anthropic)I imagine and decidewhat I want and whyProposes and asksone round of questionsI answerthe decisions are mineCodes, tests and measuresscripts, screenshots, clipsI test and ask for changeswith my own hands, on my laptopDocumentsdevlog, material, measurementsI write the chaptersfrom that documentation
The idea, the decisions and the testing are mine; the code and the documentation are Claude's.
WhoWhat they do
MeI 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
ClaudeSuggests 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

ToolWhat I use it for
Conversations with Claude, in a claude.ai projectOne 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 artifactsThe prototype lives there as a private page I open in the browser, until it reaches the website in version 0.5
A project folderThe idea (01-objetivo.md), the numbered proposals, the roadmap, the devlog and the material for each version
Testing and recording scriptsThey open the prototype in a headless browser, move the mouse like a person and record the clips you see in these chapters
GitHubAll 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:

PieceWhat it isWhat it does in the desk
HTMLThe 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
CSSThe look: colours, sizes, fontsThe website’s colours, the dot that acts as the pointer, the text on the book pages
JavaScriptThe browser’s programming language: what happens when you do somethingEverything that moves: the camera, picking up a book, the drawer, the whiteboard
WebGLThe browser’s way of using the graphics card to draw in 3DDrawing the room 60 times a second
three.jsA JavaScript library that makes WebGL easy: scenes, cameras, lights, shapesThe 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:

RequirementHow it will be checkedVersion
Fixed view from the chair; the camera follows the cursorLook at the shelf, drawer, whiteboard and tower with the mouse alonev0.1
Full turn, with a door behind you to go back to the websiteTurn all the way round and leave through the doorv0.2
No buttons on screen; manual inside the world; Esc to go backScreenshots of every mode with no interfacev0.2
Grab, turn, drag and drop every object, with animationGo through every object with no pop-up windowsv0.2
Everything usable with the keyboard and with “reduce motion”A full run using only the keyboardv0.2
A PC with its own system, its own cursor and its appsOpen the system and use its appsv0.3
Video games that teach something from the degree, achievements as discoveries and no rankingsPlay and unlock an achievementv0.3
Semi-realistic models, light and smooth on an ordinary laptop60 frames per second on a laptopv0.4
Lives at /escritorio/, with the arrival at the chair and a mobile versionGet in from the website and from a phonev0.5
Uses the website’s real data and has a Linux with missionsCheck that the shelf and the calendar change with the websitev0.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.

First discarded sketch of the desk: a flat, illustrated 2.5D desk with a calendar, monitor, books and lamp3D prototype v0.1: the room seen from the chair, with the monitor highlighted and the shelf above
On the left, the 2.5D sketch: nice, but flat. On the right, the first 3D prototype: now there is a room around you.

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 sketch3D prototype
What it isFlat layers and a zoomA room with a camera
Looking aroundNoYes, with the mouse
Grabbing an object and turning itNoYes
SizeVery smallLarger (the three.js library)
Does it look like the idea?NoFinally, 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

DecisionAlternativesWhy this one
Fixed position, like in Five Nights at Freddy’sWalking around the roomNobody has to learn how to move
Real 3D with three.jsThe 2.5D sketchThe 2.5D did not look like the idea
A project that grows by versionsDoing it all at onceEach step can be tested and told
Documenting it from the start, as a seriesTelling it at the endWhat you do not write down at the time gets forgotten
Building it with Claude, and saying soLearning JavaScript first; hiding the AIThat way it exists now, and showing how to use AI well is learning too
Off the website until v0.5Publishing it half-doneNothing 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

The versions of Sergio’s RoomA timeline with seven versions: v0.1 3D prototype and v0.2 grab and drop, already done; then v0.3 SergioLearns OS, v0.4 Blender and glTF, v0.5 on the website, v0.6 alive with Linux and v1.0 what I learnt. Each version has its chapter.v0.13D prototypech. 2v0.2grab and dropch. 3v0.3the OSch. 4v0.4Blender and glTFch. 5v0.5on the websitech. 6v0.6alive, with Linuxch. 7v1.0what I learntch. 8Already working: v0.1 and v0.2Coming next: one version, one chapter
The first two versions already work; each new one brings its chapter.

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 articles

Did this article help you? Here is how you can support SergioLearns →