Case Study · Game & Interactive

Highway Rush — a 3D racer built entirely from code

Eight e-rickshaws, one Kolkata street circuit. A browser game with real 3D, drifting, boost and slipstreaming — that loads instantly and ships with no image, model or audio files.

Project
Browser racing game
Scope
Game design · 3D · UI · Audio
Engine
Three.js (WebGL)
Platforms
Desktop & mobile browsers
Highway Rush start menu and a drifting toto in a Kolkata street
The Brief

A racing game with a sense of place

Make something instantly playable, unmistakably local — and light enough to open from a link.

Most browser racers look like every other racer. We wanted one with a point of view: the yellow taxis, heritage arches, sweet shops and street signs of Kolkata, raced in the city’s own icon, the toto (e-rickshaw), with a Bengali title and a truck-art look instead of generic sci-fi chrome.

The technical constraint was just as deliberate: no asset pipeline. Every model, texture and sound is generated in code, so the game has nothing to download but the page itself, loads in a blink and runs on a phone as comfortably as on a laptop.

Pick a toto, hit Race, and you’re driving — no install, no sign-up, no loading screen.
What We Built

Everything that makes it feel like a game

01

Kolkata in 3D

A closed circuit of bends and hills lined with heritage facades, shopfronts, zebra crossings, palm trees, bunting and a start/finish gantry under a sunset sky.

02

Two totos, real trade-offs

The Classic Toto is tough and charges boost fast; the Sprint Toto is quicker but twitchier. Speed, handling and boost stats show on each card.

03

Racecraft that rewards skill

Drifting and slipstreaming fill the N2O boost; boost pads give bursts of speed; let go of the throttle and you coast to a stop.

04

Rivals with attitude

Seven named AI racers on the grid, with Chill, Normal and Hard strengths. Live position, lap counter, lap timer and a minimap keep the race readable.

05

Truck-art interface

Cream “sticker” panels with thick outlines and hard shadows, marigold, hibiscus and teal accents, and a Bengali “টোটো রেস” title — a UI that feels painted, not templated.

06

Keyboard, touch & sound

Arrow keys, Space, Shift and H on desktop; on-screen pads on phones. Synthesised engine, horn and countdown audio with a mute toggle, and best times saved per lap count.

In Play

From the grid to the finish

Real frames captured from the running game.

Select any screen to view it full size.

Design Pillars

Three rules we built around

01 · Instant

Playable in seconds

  • No installs, accounts or loading bar
  • One tap to start, one key to go
  • Demo race runs behind the menu
02 · Local

Unmistakably Kolkata

  • Totos, yellow taxis and heritage arches
  • Bengali branding and shop signs
  • Truck-art colour and outlines
03 · Light

Built from nothing

  • Geometry assembled from primitives
  • Textures drawn on canvas
  • Sound synthesised with Web Audio
Engineering

Decisions that mattered

Procedural, not imported

Totos, buildings, trees and signs are generated and merged into a handful of meshes, which keeps draw calls low and the download tiny.

Game loop outside the UI framework

The 3D loop runs on its own; React only draws menus and the HUD, so interface updates never compete with frame time.

One layout for every screen

The whole interface scales from a single 16:9 frame, so the HUD, menus and touch pads stay proportional from a phone to a widescreen monitor.

Accessible by design

Reduced-motion preferences are respected, every action has both a keyboard key and an on-screen pad, there is a mute toggle, and portrait phones get a “turn your phone sideways” hint.

8
Racers on
every grid
2
Totos with
distinct handling
3
Rival strengths:
Chill · Normal · Hard
0
Image, model or
audio files to download
Under the Hood

Architecture & stack

Rendering
Three.jsWebGLReal-time 3D scene with fog, lighting and a sky dome; road and street furniture merged into a few meshes for performance.
Track
ProceduralA closed circuit generated from road sections with bends and elevation, with a minimap built from the same centre line.
Interface
React 18CSSHUD, menus and results screens as DOM layers over the canvas, scaled from one frame-width unit.
Audio
Web Audio APIEngine, horn, countdown and impact sounds synthesised at runtime — no audio files.
Input
KeyboardTouchKeyboard on desktop, on-screen pads on touch devices, pointer capture for reliable multi-touch.
Delivery
VercelStatic hosting; best times are stored locally in the player’s browser.

Want something like this for your business?

Tell us a little about your idea. We will tell you honestly what it would take, how long it would take and what it would cost.

  • Free discovery call
  • Reply within 24 hours
  • First working version in 72 hours

Need something interactive that stands out?

Games, 3D experiences and playful product demos — built to run in any browser.

Play Highway Rush ↗ Start a Conversation