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

Games and 3D on the web

Getting it onto a server

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