Award Site Teardowns
中文 Switch language

Night Drive Racing Game

Night Drive Racing Game is a complete open-world racing game by two Brazilian developers, and it can be played directly in a web page. The team says it began as a visual experiment and only later became a game people can keep playing. One of the two authors helped develop the WebGPU renderer of three.js, a web 3D library, and the game runs on exactly that renderer. The player drives a sports car around a rainy neon city, taking on jobs and street races. The reflections in the puddles and the raindrops on the bodywork are all computed live by the graphics card.

The game comes from Anderson Mancini and Sunag. The FWA named the game an FWA of the Day.

The start screen seen through rain-covered glass, with a blurred neon street behind it
The start screen looks like a view through a pane of glass covered in raindrops, with a blurred neon street behind the glass. In the middle are the small words THROUGH THE GLASS, the large lettering THREEJS PUNK, the line A rain-soaked city under neon. and the ENTER button, with the names Anderson Mancini and Sunag below the button.

01Concept

Anderson Mancini's FWA profile says Mancini has worked on digital marketing projects since 2005 and later shifted focus to web 3D with three.js. The other author, Sunag, whose real name is Jean Carlo Deconto, is a developer from Curitiba, Brazil. Deconto has submitted more than 1,700 changes to the official three.js code, several hundred of them on the WebGPU renderer and on TSL. TSL is the language three.js provides for writing shaders, the small programs the graphics card uses to draw the picture. Both were speakers at the first Three.js Conference in Paris in September 2026. The web design and development site Codrops listed Deconto as a TSL developer among the conference speakers, and its post-conference report called Deconto the creator of TSL.

The game's own info page says it was originally built for the Three.js Conference. In the introduction on the FWA case page, the team also writes that the game grew from a visual experiment into a complete game. The goal, the team says, was not another tech demo but a game people can actually play and explore. The introduction ends by calling it an ongoing experiment in how far games can be pushed in the browser. Mancini posted the game on the three.js forum on 29 September 2026. The experiment did not stop at release, and three days later Mancini added driving with other players.

On FWA the game is called Night Drive Racing Game, while the web page calls it Threejs-Punk Drive. It has no track that ends after a few laps, only a city the player can stay in indefinitely. The city has its own map, four named freeways, passing traffic, a set of missions and achievements, and a cast of characters who send the player messages.

On a first visit, the visitor has to wait a while before the start screen appears. During that time the black screen shows a percentage ring, with small text below it moving through statuses such as spinning up the renderer, loading models and tuning the suspension. When the percentage reaches 100%, the screen holds a little longer, showing only that shaders are compiling. Once compilation is done, a circular opening reveals the scene. The start screen looks like a view through a pane of glass covered in raindrops, with a blurred neon street behind it. THREEJS PUNK sits in the middle with the line A rain-soaked city under neon, and an ENTER button sits below.

After the visitor clicks ENTER, a letter from Nyx, a fixer, pops up on screen. Her portrait sits on the left, and the letter is typed out character by character on the right. In it, Nyx says that every night the city crowns an owner and that tonight the crown is up for grabs. To take it, the player has to run jobs for her crew, win Rio's street races, find the Neon Sigils and earn the cars nobody else can touch. Below the letter is a progress table listing 17 jobs, 23 street races, 54 sigils and 8 cars, with a last row, THE NIGHT, for the night won by doing it all. When the visitor opens the game again, the letter changes to Back again? The crown's still empty, and the progress table below it keeps the previous results, stored in the visitor's own browser.

Nyx's portrait card on the left of the letter screen, with long braids and a yellow and black jacket
On the left of the letter screen is Nyx's portrait card, with her long braids and yellow and black jacket, and NYX and THE FIXER written in its lower left corner. On the right is the INCOMING MESSAGE panel, with the monospaced letter typed as far as the fourth line, Run jobs for my crew, ending in a yellow block cursor.

Several characters hand out the missions, and the game's achievements panel lists each one's missions and their rules. The taxi dispatcher Pops gives passenger and delivery jobs, such as getting a passenger somewhere against the clock or carrying a load of fragile goods without damaging too much of it. The drift streamer Lux asks the player to build up a drift score within a set area, while the record holder Rio guards the city's speed records. The hacker Hex gives clues to the sigils and says each one is a fragment of the old city's code. On the street a job appears as a yellow beam of light and a street race as a chequered flag, while the sigils are hidden between buildings. There are 94 achievements in all.

The jobs and sigils are scattered across the city, and the player can press Tab to open a map of the whole city. On the map, each of the four freeways is marked in its own colour: cyan, magenta, orange and green. Each freeway also carries its name, such as Crosstown Expressway or East Bay Bridge. Jobs, street races, sigils and garages appear on the map as small icons. When the player clicks anywhere on the map, that spot becomes a waypoint, the target for navigation. Back on the street, the minimap shows a pink route, and the top of the screen gives directions such as a left turn in 40 metres with 930 metres to go.

The dark city map dotted with small icons, with a pink arrow labelled DOWNTOWN in the middle
The dark plan of the city map is dotted with many small yellow and coloured icons, and a pink arrow in the middle is labelled DOWNTOWN. A cyan line crosses the city, with a magenta line on the left, an orange line below and a green line at the lower right, each carrying its freeway's name. The top left holds the legend, the top right reads CLICK THE MAP TO SET ONE, and a line at the bottom lists the controls for dragging to pan, scrolling to zoom and clicking to set a waypoint.

Besides driving alone, the game offers two other ways to play. In the first, the player stops and presses F to get out and walk the streets in first person, and after a click the mouse turns the view. The sigils can only be collected on foot.

The second way to play is driving with other people. At the time of the award, a button at the top of the screen called Drive with friends copied an invite link when clicked, and up to four people could use that link to drive in the same city. In later versions the developers turned it into an ONLINE item in the menu. There the player can pick a room and, inside it, send quick chat messages, navigate to another driver in one click, watch someone else drive, or race together. When two players drift together, their drift score is multiplied by 1.5.

02Design

Night Drive's picture has one weather and one time of day, always a rainy night. The whole city sits in deep purple and black, and most of its brightness comes from the magenta, cyan and purple of the neon signs and a red light bar across the back of the car. The soaked road reflects those colours a second time, so the ground and the walls glow at once.

Up close, the city's buildings are actually very simple. Many are just boxes with grids of windows on their walls, and most signs are flat panels stuck to the walls. Almost all of the picture's richness comes from light. Glowing signs, a reflecting ground and raindrops catching highlights are layered together, and these lights make the city look full of detail from a distance.

Players can also change the way they see the city by switching between six colour looks in the settings. Neon Noir leans purple, Magenta Rain carries a heavier pink glow as if the picture were misted with steam, and Teal Dusk pushes the shadows toward teal. Neutral removes the colour cast, Silent Hill wraps the city in a grey-white fog, and Sin City drains almost to black and white, down to the red light bar on the car turning white. The names Silent Hill and Sin City are borrowed from the horror game and the black-and-white film of the same names. All six use the same city and the same lighting and change only the final colour grade of the picture, but the same street under the six looks seems like six different places.

The same rainy neon street under the six colour looks, in two rows
The same rainy neon street under the six looks is laid out in two rows, with Neon Noir, Magenta Rain and Teal Dusk from left to right on top, leaning purple, pink and misted, and teal. The bottom row, from left to right, shows Neutral, Silent Hill and Sin City, the picture without a colour cast, under a grey-white fog, and almost black and white with a white light bar on the car. Each tile has the back of the same silver sports car in the middle and a job beam further down the street, yellow in every tile except Sin City.

Over the 3D picture, the interface borrows the look of cyberpunk. Almost every word on screen is set in Orbitron, a wide sans-serif typeface built from geometric shapes. Headings and labels are mostly in capitals, so the text reads like the dials of a futuristic instrument panel. The panels have chamfered corners and mostly translucent purple borders (#A855F7). The interface's background is a near-black deep purple (#07060B), headings are often cyan (#22D3EE), and jobs and prompts are marked in bright yellow (#FFD60A). Nyx's letter switches to a monospaced face with a blinking yellow block cursor, so it reads like a message arriving on a terminal screen.

While the player drives, the game keeps its information around the edges of the screen and leaves the middle to the car and the road. The bottom right holds a round speedometer showing speed, revs and gear, with switches beside it for the three driving assists: traction control, anti-lock brakes and stability control. The bottom left holds a round minimap, and phone message alerts hang on the left side of the screen, a little above the middle. A panel in the top left keeps the current combo and the best score, and when the car drifts, a large yellow score also jumps up at the top of the screen. An H CONTROLS hint sits at the bottom centre, and pressing H shows every control. Buttons such as the garage and achievements stay hidden until the pointer moves to the top of the screen.

The garage is a separate scene in the game. Before the player enters it, a short PREPARING THE GARAGE transition plays. When it ends, a car stands on a reflective wet floor, with a spec card in the bottom left. The player's first car is the Quadra Turbo-R, and its spec card lists a 4.2-litre twin-turbo V8, 0 to 100 km/h in 3.4 seconds, a top speed of 317 km/h and a weight of 1,480 kg. The car's description also says it is the car the city knows the player by.

On phones and tablets the player can still drive the whole city, and the game only rearranges the interface for portrait. On the start screen the lettering and the ENTER button shrink but stay in the middle of the screen, and the letter stacks the portrait and the message into one long card. While the player drives, the speedometer moves from the bottom right to the top of the screen, and the minimap stays in the bottom left. The bottom of the screen becomes a set of touch buttons, with two steering buttons on the left, three small buttons above them for camera, reset and exit, and four large buttons on the right, DRIFT, NITRO, BRAKE and GAS.

Three phone screens: the start screen, the first letter and driving with touch controls
On three phones, the left one shows the start screen, with the THREEJS PUNK lettering and the ENTER button in the middle. The middle one shows the first-visit letter, with Nyx's portrait at the top, the full message below it and five progress rows, JOBS 0/17, STREET RACES 0/23, NEON SIGILS 0/54, RIDES 2/8 and THE NIGHT, with a yellow LET'S RIDE button at the bottom. The right one shows the drive, with a speedometer showing 106 at the top and a tip card about driving with others, a yellow beam of light standing in the road ahead, and the left and right steering buttons, CAM, RESET, EXIT and the DRIFT, NITRO, BRAKE and GAS touch buttons at the bottom, with GAS lit green.

03Motion

Once the car is moving, the camera and the screen effects help the player feel the speed. The camera follows behind the car by default. Pressing C cycles through three cameras: the default chase view, a wider CHASEFAR and a HOOD view on the bonnet. Holding B turns the view to look behind the car. At high speed the edges of the picture stretch into motion blur and the neon smears into purple and magenta streaks. When the player holds Shift for nitro, a string of flames also shoots from the exhaust.

The move that most needs practice in this game is the drift, and the game sets explicit rules for what counts as a drift and how it scores. The game only counts a drift when at least two wheels are on the ground, the speed is above 30 km/h and the angle between the car's body and its direction of travel is above 12 degrees. At every moment of a drift the score grows by the speed times the angle times 0.05, so fast, steep drifts earn the most.

Several drifts can chain into one combo, and the points they build up only count once the combo ends. While a drift continues without a break, the score multiplier rises by one every 2 seconds, up to five. When the drift stops, a 2-second grace period follows, and if the player swings the car out again within it, the new drift still counts as part of the same combo. If the grace period passes without another drift, the combo's score is kept and the screen shows BANKED. If the car hits a wall during the grace period, the score for that combo is lost and the screen shows DRIFT LOST.

While the car drifts, the rating and the large score on screen change at two different rhythms. Like the score, the rating is worked out from speed times angle: GOOD DRIFT above 1,800, GREAT above 3,000, SUPER above 4,200 and INSANE above 5,500. The rating follows the speed and angle of each frame directly, so it keeps jumping. In one drift, for example, it went from GOOD DRIFT at 18 degrees to INSANE DRIFT at 47 degrees in an instant, then fell back to GOOD at 40 degrees. The large score at the top rolls upward like a counter instead, because each frame it closes only part of the gap to the true score, about a sixth at 60 frames per second. Once the grace period is over and the score turns to BANKED, the large score moves into the panel in the top left.

A frame from a drift, with the silver sports car sliding sideways along a wet neon street
In this frame from a drift, the silver sports car slides sideways along a wet neon street, the red light bar glowing across its back, while motion blur pulls the surroundings into purple and magenta streaks. At the top of the screen is the large yellow number 41 with x1, and below it GREAT DRIFT 45°. A message from Pops on the left reads Got a fare for you, rookie, and the speedometer at the bottom right shows 87 km/h in first gear.

The other move to practise is the launch. With the car stopped, the player holds W and Space, and LAUNCH CONTROL appears at the top of the screen. When the player then also holds Shift, the prompt changes to RELEASE IN THE GREEN, and a needle starts sweeping along a bar below it. The green zone runs from 70% to 84% of the bar's length, with a short yellow band joined to each side of it. The moment the player lets go decides the result, with ROCKET LAUNCH and the small line PERFECT TIMING inside the green, and GOOD LAUNCH inside a yellow band. Letting go earlier than the yellow band gives BOGGED, and letting go later gives WHEELSPIN. Each result has a small line under the large one, and a failed launch reads TOO EARLY or TOO LATE, so a player who fails knows straight away whether to release earlier or later next time.

The car waiting on a neon street for a launch-control start
The car waits on a neon street for a launch-control start. At the top of the screen is the yellow LAUNCH CONTROL, with RELEASE IN THE GREEN below it and then a bar with a needle and a green zone. A HOLD SHIFT FOR A BOOST hint sits below the car, and the speedometer at the bottom right shows 0.

A few driving switches also bring up a prompt when the player flips them. When the player presses G to switch the gearbox to manual, the screen shows MANUAL followed by Q / E, a reminder to shift with Q and E. When the player presses T to turn off every driving assist, the screen shows ASSISTS OFF and GOOD LUCK. These prompts only flash up briefly and never interrupt the drive.

While the player drives, the city's characters get in touch by phone. A message card slides in on the left of the screen, with INCOMING and LINK 177.77.31 along its top. Below that line are the sender's portrait, name and role, and below them a text message being typed out, such as a line from the taxi dispatcher Pops that reads Got a fare for you, rookie. The full message opens only when the player presses I, and a player who does not want to read it can keep driving while the card folds away on its own.

04Engineering

The puddle reflections, the raindrops on the bodywork, the water on the lens and the glow of the lights are all live shader effects in Night Drive. The shaders are written in TSL, the language mentioned earlier, and run on the WebGPU renderer of three.js. Because the whole picture is rendered live through WebGPU, the game's info page says it needs a recent Chrome or Edge with WebGPU support and recommends a dedicated graphics card and 16 GB of memory.

The game downloads its assets in several batches, and the models and textures arrive compressed, the models with Draco and the textures as KTX2, to be decoded in the browser. Even so, a first-time visitor downloads about 33 MB before entering the city, over 19 MB of it 3D models. The largest single file is the city's building kit at 6.4 MB, and the player's first car is about 2.6 MB. The other cars download one by one only after the start screen appears. After the player enters the city, the game also downloads two ambient sounds, rain and thunder, and after that nothing new is downloaded while driving. The WebSocket connection for driving with other players is likewise not opened while the page loads, only when the visitor joins a room.

The game's first screen appears quickly, but it takes a while before the game can actually be played. About half a second after the visitor opens the page, the loading ring is on screen. The start screen, however, only appears at around 12 to 15 seconds. After it appears, the title and the ENTER button take another three or four seconds to fade in, and only then can the visitor click ENTER. During loading the page freezes repeatedly, for about 3 to 4 seconds in total, mostly while the shaders compile.

Once the player is in the city, the picture puts a heavy load on the graphics card. While the player drives, the graphics card runs about 37 render passes and two compute shader dispatches a frame. Running so many live effects while driving relies on a finely tuned quality system.

The first layer of this system is resolution. Even Ultra, the default and highest setting, does not draw at the screen's full resolution, and the game's internal picture is only 85% of the window's width and height. Once the picture is drawn, AMD's FSR 1 scales it up to full screen and sharpens it, while SMAA handles anti-aliasing. The game also checks the frame rate once a second and lowers the resolution when it falls behind.

Beyond resolution, the buildings, the reflections and the rain each have a budget of their own. The game only draws buildings and roads within a set distance, and parts hidden behind nearer buildings are culled in advance with a 256 by 128 pixel depth map. Distant neon signs are swapped for pre-rendered sprites. The ground reflection is a planar reflection rendered at half resolution. The reflection of the city on the bodywork comes from an environment cube map only 64 pixels square, and the game updates just one of its faces every three frames. At the top setting the rain has 2,750 drops that collide with the car and the ground, but the collisions are computed only every other frame.

When the player lowers the quality, the game lightens the load on the graphics card in two steps, and most of what it drops is rain and reflections. The settings have only three levels, Low, Medium and Ultra, and stepping down from Ultra to Medium first switches off the water drops on the lens. Stepping down to Low also switches off the water on the bodywork, the bodywork reflections and ambient occlusion, makes the ground reflect only lights and cuts street traffic by about a third.

On phones, the game automatically applies a less demanding set of settings. These settings switch anti-aliasing to FXAA, which is lighter on the graphics card, turn off the water drops on the lens, cut the falling rain to 1,500 drops and make the ground reflect only lights. The camera's field of view widens from 62 to 72 degrees so that the sides of the road stay visible in portrait. The canvas renders at 1.5 times the pixel density. The game also singles out a few older iPhones with smaller screens, and on those phones it turns off the light reflections on the ground as well. Phones and tablets, however, download almost the same files as desktops, and the same total.

Drift scoring is a small separate module, completely apart from the picture. Each frame it reads only four numbers: how many of the car's wheels are on the ground, its speed, its drift angle and the frame's time step. The module adds up the score by the rules described earlier and puts the BANKED and DRIFT LOST results into an event queue. Each frame the interface layer takes the events from the queue and plays the matching animations. The large number on screen closes the gap to the true score by the time step times 10 each frame, which is where the rolling count described earlier comes from. The best score is kept in the browser's local storage, so another computer starts from zero.

Part of the game's sound is synthesised live in the browser. The engine note comes from a synthesiser and a sampler working together, with no recorded loop, so it can change continuously with the revs. The in-game radio, NEON FM, plays a set of synth tracks, which the interface credits to the stock media site Pixabay. The player can set the music and car volumes separately.

The game is driven by the keyboard anyway, so keyboard users can play it from start to finish, and standard gamepads work too. The keyboard focus ring, however, is a thin line that almost disappears against the dark scene. The whole city is drawn on one canvas, so screen readers can only read the buttons and text of the interface, and a few of those controls have no name. With the reduced motion setting on, Nyx's letter appears complete at once and the radio, drift score, launch prompt and phone message animations stop, but the rain, the motion blur and the neon streaks remain.

05Scores and Team

Award Source Date Score
FWA of the Day The FWA 2026-10-03 88 POINTS

FWA filed the game under games.

Credit Who Record (as of November 11, 2026)
Anderson Mancini dos Santos Brazilian creative developer, co-founder of the digital marketing company Neotix Transformação Digital FWA 2

FWA credits Mancini alone, while the game's start screen and info page name both Anderson Mancini and Sunag.

06Archive

Award date
2026-10-03
Awards
The FWA FOTD 2026-10-03
Site
https://www.threejspunk.com/
Credits
Anderson Mancini dos Santos, Sunag
Design
spatial
Build
realtime
The FWA
88 POINTS. https://legacy.thefwa.com/cases/night-drive-racing-game
Stack
three.js r186 WebGPU, TSL, Rapier, FSR 1, SMAA, GTAO, KTX2, Draco, Web Audio, WebSocket
Total assets
About 33 MB before entering the city, 19.4 MB of it 3D models. The same on phone and tablet
Speed
FCP 0.54 to 0.60 s (loading ring), start screen at about 12 to 15 s, ENTER clickable about 4 s after it appears, CLS 0.0013. 60 fps while driving