Guides
Eleven guides on the things that actually went wrong while building a pannable city of bricks, a Unity room viewer nobody can afford to serve, and a hundred browser games that each fit in one file.
Making the browser behave
- PerformancePanning 600 DOM Nodes at 60fps Without a Canvas
Six hundred real elements panned and zoomed without a canvas. The trick is a hard split: React owns what exists, the RAF loop owns where it is.
- PerformancePaint Before the Network Answers
The procedural wall is not a loading state. It is the first frame, and the database is an enhancement that arrives afterwards and quietly improves it.
- Front-endWhy Your Pan-and-Zoom Drifts on Phones
One Pointer Events API serves mouse, finger and pen, and the bugs that only appear on phones all start with code that pretends those three are the same thing.
Games and 3D on the web
- Game DevelopmentBuilding a Complete Browser Game in One HTML File
Every game on arthis.space is one HTML file with no build step — here is the skeleton, the loop, the touch layer, and the honest price of that decision.
- 3D WebThree.js or Unity WebGL: Choosing by What It Costs You
Both ship 3D to a browser; only one of them asks a first-time visitor for thirty megabytes before anything appears on screen.
- WebGLShipping a 28MB Unity WebGL Build on the Open Web
One shared Unity build, thirty megabytes, and a bandwidth ceiling no amount of caching config in the web repository can move.
- 3D AssetsGetting a glTF Room Under 3MB
Every arthis.land room ships between 2.3 and 3.4 MB, and almost all of that is texture — here is how the budget is spent and defended.
- MakingTurning a 3D Room Into a Printable Paper Model
A room that renders beautifully in a browser usually makes a terrible paper model, and the gap between the two is mostly a question of how many faces a human will cut.
Getting it onto a server
- ArchitectureReplacing a Per-Pageload Database Query With a Build-Time Snapshot
Every visitor was fetching the same table. Moving that read to build time made it a CDN problem instead of a database problem, and cost nothing downstream.
- InfrastructureAn .htaccess That Earns Its Keep
Caching, compression and security headers for a static site, with the reasoning behind each line and an honest account of what the cache policy costs.
- InfrastructureDeploying a Static Site Without a Deploy Button
Shared hosting gives you SSH and a document root, so the release is a script you wrote and the checks you were disciplined enough to add.
How these are written
Everything here is written from two codebases I maintain: arthis.land, the vertical city — a React wall of several hundred DOM bricks with a Unity WebGL viewer bolted to it — and arthis.space, a library of over a hundred self-contained HTML5 games. Both run on ordinary shared hosting, on a budget, with one person maintaining them. That constraint is why these guides exist: most of what is written about browser performance and 3D on the web assumes a team and a CDN contract, and quietly skips the part where you find out that your content delivery network does not cache the two largest files on your site.
These are not tutorials that end at “hello world”. Each one takes a problem that cost me real time, explains the mechanism underneath it, shows the code that fixed it, and states plainly what the fix costs and what is still unsolved. Where a number appears — 28 MB, 7.5 TB a month, eleven state commits a second — it is a measurement from these projects, not an illustration.
How to read these. They are ordered roughly from the browser outwards: making a page fast, then making 3D and games work inside it, then getting the whole thing onto a server without setting fire to your bandwidth bill. Each stands alone, and each links to the others where they genuinely connect.
What you will not find here
No framework comparisons written by someone who has only used one of them. No benchmarks run on a laptop plugged into the wall and then presented as mobile numbers. No advice to “just use a CDN” without saying which rules you have to write for it to do anything.
The guides are opinionated where I have evidence and openly uncertain where I do not. Several of them end by naming a problem I have not solved — deploys that are not atomic, render-blocking third-party fonts, a 28 MB WebAssembly module that no amount of caching makes smaller for a first-time visitor. Those sections are the honest part, and they are the ones worth reading twice.
Who writes these
I am Aayush Kumar, a final-year electronics and communication engineering student at MNIT Jaipur, working from Jaipur, India. Outside coursework I build under the name ARTHIS: the wall and its city here on arthis.land, and a browser games platform at arthis.space. I write these guides partly to think properly about decisions I made in a hurry, and partly because the specific failures — a pan gesture that drifts toward the last tap, a CDN that silently ignores your biggest files — took me longer to diagnose than they should have, and the write-ups I needed did not exist.
If you find an error, or you have hit the same wall and got past it differently, write to me. Corrections are made and credited.
Elsewhere on this site
- The Wall — the interactive city these guides are mostly about.
- The City — the open rooms, rendered in the WebGL viewer.
- About — what Arthis.Land is and how rooms work.
- Download — the Land Room Maker builds.
- Documentation — how to build and publish a room.
- Paper models — printable versions of the rooms.