Race Condition

Jonas Lund · 2022 · Presents

A first-person view down a glowing corridor rendered in flat candy colours — mint green, hot magenta, lime, cyan and pink. Striped walls and a striped floor converge to a vanishing point where a translucent cyan capsule hovers. Crisp, vivid and game-like, evoking a retro 3D hallway.
Jonas Lund · via Art Blocks ↗ · © the artist
Sample output of Race Condition
Jonas Lund · via Art Blocks ↗ · © the artist
Sample output of Race Condition
Jonas Lund · via Art Blocks ↗ · © the artist
Sample output of Race Condition
Jonas Lund · via Art Blocks ↗ · © the artist

*🔈 Click anywhere to start the soundtrack 🔈* ***Race Condition*** is a racing game where you're flying through space at rapid speeds and see colors and shapes swoosh by. The game-objective is straightforward: you accelerate and try and stay on the road, if you miss a jump or a turn, you crash! The script determines the properties of your spaceship, acceleration, handling and max speed, as well as the map layout, including difficulty, color composition, and available power ups. Once the series has been fully minted, a highscore of all the mints will be created on [racecondition.art](https://racecondition.art). The winners in each category will be awarded an additional Race Condition Winner NFT. The categories include but are not limited to fastest spaceship, most difficult level, easiest level, worst acceleration, and worst max speed. In *Race Condition*, the winners are not determined by your driving skills, but by something outside of your control, the properties and features of your mint. Is your level more difficult than the others? Is your spaceship faster? Whether you are a winner in one of the categories is not really up to you, so enjoy the ride and race without pressure! **The Controls** ⬆️ or **W** to accelerate ⬇️ or **S** to decelerate (and cancel Nitro) ⬅️ or **A** to drive left ➡️ or **D** to drive right **Space** to jump **N** to activate Nitro **M** or ⬇️ **S** to stop Nitro **ESC** to open settings Shortly after loading, the spaceship will start to race the map by itself in *self-driving mode*, where it can't crash. As soon as you press a key on your keyboard, it switches to *driving mode*. **The Levels** Race Condition has 21 different map generating algorithms, each with their own set of challenges and difficulty rating. The algorithms take into account the playability in combination with the difficulty and try to strike a good balance between the two. Each mint gets a difficulty rating and that determines which map pool is used for the creation of the level. The easy ones requires next to zero effort whereas the hard ones require a lot of skill in driving. The Easy Medium Hard means that it can select map algorithms from the complete pool. **The Music** The music is generated by first selecting a scale from a set of 14 predefined ones, combined with two oscillators / synth configurations, and spread across an imaginary step-sequencer, where the hash determines which steps should be activated or not, how long the sequencer should be, what BPM it should be, and when it step into the next phase of the step-sequencer, which results in some very nice chip-tune repetitive tracks. **Notes** On mobile, the spaceship accelerates automatically and you turn left/right by tilting your device. You need to grant permission for this to work, if you decline, the spaceship will drive by itself in *self-driving mode*.

How it works

The core is a race space composed of 3D meshes. With three.js it generates the player's spaceship, the road, obstacles and so on as meshes, and a script decides performance such as acceleration, steering and top speed. Darting through space at high speed, colours and shapes stream past at the sides. The sound is synthesised with audio, controlling oscillator frequencies to produce a soundtrack. With the gameplay that you crash if you miss a jump or a curve, visuals and audio synced to the sense of speed rise as a racing experience tearing through space.

Palette

From the generator script · 10
#ffffff#000000#0c150b#010203#030507#020507#040203#020504#010307#010204
Extracted from outputs · 8
#293147#e1d5d2#8fed77#227fa3#768092#d17074#de1b32#30fafd

Algorithms

Details

Tools
three.js
Runtimes
Browser (WebGL / GLSL), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2022-11) → art-blocks
Script hash
4352b549ad5bd06df4a935ac148e91a2abfa1bf7d585b3f42d33566e3671e928
On-chain
ethereum · 0x99a9b7c1116f9ceeb1652de04d5969cce509b069 · #393

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

celestial cyclones
hideo · 2021
Diggly Collects All
dca · 2025
send/receive
snowfro · 2025
⧉ Cube³s
paul-prudence · 2025
Gas Wars
jack-butcher · 2025
Fantasía
alejandro-campos · 2024
Autoscope
erik-swahn · 2024
Crypt
the-cyclops-group · 2023

Last updated 2026-07-16