BEHIND THE SCENES
MAKING OF
RANIT.EXE
A portfolio told as a side-scrolling game: an AC mechanic who became a software founder. Your scroll is the joystick. This page shows how it was put together, with the site's own code drawing every picture below.
01 ONE WORLD, ONE SCROLL
The page never scrolls. Wheel, trackpad, swipe and arrow keys all become distance in one continuous world of seventeen zones, from a rooftop at night back to childhood and forward to Metacognite. Progress follows your input with frame-rate independent easing, touch has inertia, checkpoints gently pull the character to his lines, and some moments push back: Game Over resists your scroll until you press CONTINUE, and the closing namaskar slows down so it can land.
02 PIXEL ART, WRITTEN AS CODE
There are no image files for the character. He is a layered rig of pixel maps: head, face, torso, arms, legs and outfit palettes are composed at runtime and outlined automatically, so every pose, expression and era is a combination rather than a drawing. Here is every outfit he wears on the journey, rendered live:
The Metacognite logo and Ranit's house in Chakdaha, which is also the company's HQ, are drawn the same way: shapes and patterns painted into a grid in code. In the game the house builds itself block by block.
03 FROM PIXELS TO 3D
The hand-drawn sprite carries him through childhood, the grind and Game Over. When he joins Uniterrene an upgrade scan turns him into a 3D character, built from smooth primitives in code, that keeps getting finer with every scroll: resolution, colour depth, outline, lighting, proportions and even animation frame rate all move on one dial. Drag it:
04 LITTLE THINGS
- The opening sky follows your own clock, and a live clock shows the time in Chakdaha.
- The soundtrack and effects are synthesised in the browser as chiptune; there are no audio files.
- In The Grind you can fix the AC yourself. There is also a Konami code.
- The speech text rewinds when you scroll back, and retypes when you go forward again.
- Phones get their own layout: docked text, sheets, a lighter HUD and touch inertia.
05 CRAFT
- Pixel-crisp at any size: sprites snap to whole device pixels.
- Two WebGL canvases with the world's text in between as real, selectable DOM type.
- The 3D engine loads only when it is needed, and falls back to the sprite on slow devices.
- Reduced motion, full keyboard play, and a screen-reader transcript of the whole story.
06 CREDITS
- Created by
- Ranit Majumder · Metacognite Software
- Stack
- React, TypeScript, PixiJS, three.js, Zustand, Vite, Playwright
HONORABLE MENTIONS
The people who believed in me before I did, and showed me the way: