2026 Fan project · personal project
Counter-Strike
1999–2026
27 years of one game in 71 seconds, from the 1999 beta to CS2. No camera and no editing software: all 4,275 frames were rendered by code and the sound is built from the game’s original sounds.
A fan project, not affiliated with Valve. Maps, models, sounds and logos belong to Valve.
How the reel was made
-
01
One sentence and 14 rounds of notes
It starts with a brief for Claude Code: a video about the history of Counter-Strike, no follow-up questions, the result should be an MP4. All the code, almost 10,000 lines of JavaScript and Python, was written by AI. The human part is direction: after every render, watch the video and write down what doesn’t work.
> make a video about the history of Counter-Strike > don't ask me anything. the result is a video. Write src/timeline.js Write src/scenes/title3d.js Write tools/audio.py Bash node tools/render.js --workers 8 ✓ CS_History_1999-2026.mp4
The start, as shown in the making-of. -
02
A timeline in bars
The reel is a single timeline in bars: 128 BPM, one bar lasts 1.875 s, 38 bars in total. The same file is read by the browser that draws the picture and by the Python script that builds the sound. That is why all 494 sound events sit exactly on the picture.
// Everything is expressed in bars @ 128 BPM // so picture and sound stay frame-locked. export const BPM = 128; export const BEAT = 60 / BPM; // 0.46875 s export const BAR = BEAT * 4; // 1.875 s export const TOTAL_BARS = 38; export const SCENES = [ { id: 'intro', from: 0, to: 4, year: '1999' }, { id: 'title', from: 4, to: 6, year: '1999' }, { id: 'dust2', from: 9, to: 12, year: '2001' }, { id: 'cs16', from: 12, to: 14, year: '2003' }, // … { id: 'gg', from: 33, to: 38, year: '2026' }, ];
Excerpt from src/timeline.js, shortened. -
03
Original game files
Nothing in the reel is an imitation. Counter-Strike 1.6 got its own readers for the BSP, WAD, MDL and SPR formats, so the intro plays on the real 2003 de_dust2 map, characters and HUD included. The CS2 installation supplied 839 sounds, 209 images and the 3D models of the weapons, the bomb and the chicken.
Player routes for the 3D Dust II map. The walkable area comes from the CS2 radar; Dijkstra’s algorithm finds the paths. -
04
Rendering and frame-by-frame checks
Eight windowless Chrome instances draw the video in chunks of 150 frames. Every frame is a function of time, with no randomness and no clock, so the chunks join without seams. Motion blur is done the honest way: each frame is drawn six times and averaged. Rendering the whole reel takes about two minutes; every version is then checked on sheets with a frame every 1.25 s.
Check sheet of the final version, first 20 s. Every frame is labelled with its time and bar. -
05
Sound the code can’t hear
Python builds the sound from the game’s original sounds: gunshots, C4 beeps, shell casings, radio calls. Claude Code can’t hear sound, only measure it, so the radio calls were picked by their spectrograms. “Go go go” is three identical bursts. The music is an AI-generated song made from a brief that describes the picture bar by bar. It ducks under the effects but never disappears completely.
Spectrograms of the calls Go go go, The bomb has been planted and Counter-Terrorists win.
14 versions
Every render was followed by a list of notes, and the scenes were built again. Here are three moments of the reel as they looked in individual versions.
GO GO GO
The intro, second 6. The player runs out of spawn on de_dust2.
Just lettering on a black background.
A CS2 screenshot of Dust II with a HUD drawn by code. But the intro belongs to 1999, so the next version moves to CS 1.6.
An imitation of 1.6 built in three.js. From version 7 on, the map, the weapon and the HUD are read straight from the 1.6 files.
The real de_dust2 from 2003 with the AK model and HUD from 1.6. But the enemy appears out of nowhere; in the next version it stands in place from the start.
Final version: three CTs are in place from the first frame and the player takes them down with bursts from the AK.
Title
Seconds 8–10, the first big lettering of the reel.
A flat orange card, unchanged since the first version. Too little for the reel’s first big lettering, so the next version builds it in 3D.
Chrome 3D letters on a mirror floor. Glossy studio 3D doesn’t fit the world of the game, so from the next version on every 3D element stands in the game’s environment: sand, rust and map walls.
Final version: letters extruded in code from the reel’s typeface, rusty sheet metal on sand, and a burst from the AK hits the lettering.
Finale
The last nine seconds: GG, well played.
A flat card and a serif italic typeface.
The lettering shatters like glass. But the shards don’t look like real glass, so the finale is built again.
Chrome GG and a bullet in empty space. Same as with the title: rust and sand instead of gloss.
Rusty GG on sand, a bullet pierces the G. But the ending lacks a punchline, and the next version adds one.
Final version: a chicken from CS2 runs up to the shot-through G and pecks at the hole. Its colours are assembled from the game’s texture atlas; otherwise it would be grey and shiny.
- versions
- 14
- lines of code
- 9,849
- frames
- 4,275
- sound events
- 494
- keyframes
- 0
Making-of
74 seconds on how the reel was made, for a thread on X. It is built the same way as the reel: code, bars and the same song. Older versions run next to the final one.