Rule 90 cellular automaton

I make games, the kind with very few rules where the world runs on its own. That is called emergence, and my PhD was on it too (in traffic, every car does what is best for itself, and the whole road slows down).

I'm also building an AI system for my own use, where a bunch of agents share one memory and work together.

YOU YUAN
游渊

If you make games, build agent systems, or just like emergence, you're welcome to write.

GAMES

Text cultivation

A game where Chinese characters represent materials. Place water, fire, wood, and metal on a grid, then watch them flow, burn, and melt. A cellular automaton experiment is now available to play in the browser.

文字修仙 · text game, 2026 · Play online

Worlds that run themselves

On and off since 2017. I've built life-and-death rules on grids, temperature on a 3D grid (unfinished), and water, heat, and chemistry in a desert. The engine went from Laya to Phaser to Unity to Bevy. What I keep trying to understand is how to make a world run on its own. There's no life in the desert yet.

Since 2017

Flow and dynamic difficulty

It reads in real time whether the player is anxious, engaged or bored, and adjusts difficulty and narrative pacing so they spend more time in flow. Two demos so far, one like Vampire Survivors and one a text-based interactive narrative.

Since 2025 · play the demo

Time-space diagram of Rule 110 evolving over time

RULE 110

Each cell updates from its own state and its two neighbors under Rule 110. Each frame advances one generation.

SYSTEMS

Theseus

An AI collaboration system for my own use, started in March 2026. Agents write what happened into one append-only ledger, and long-term conclusions have to point back at the raw records. Each skill keeps one master copy, and any agent that needs it links to it. Routing requests to different models by difficulty existed once; it's archived now.

Since 2026

Intent tree and canvas

Two parts of one need: an intent tree records what I'm chasing and where each line branched off; a canvas lays related materials out together. The need was written down in 2020, and the first three attempts failed. The fourth time, the intent tree was finished in August 2026, the two parts merged in October, and the old canvas entry was archived.

Since 2020

A sailing ship under the moon, with a stretch of newly replaced planks on its hull

THE SHIP OF THESEUS

The planks are replaced one by one, and the ship is still the same ship. This system got here the same way, with parts swapped while it was in use.

RESEARCH

Collective emergence in human-driven and automated traffic

This research investigates microscopic interactions among human-driven and automated vehicles and their implications for collective traffic dynamics, focusing on lane-changing games, individual incentives, system-wide traffic efficiency, and long-tail lane-changing scenarios.

Since 2016

Intelligent control of long-distance single-lane two-way traffic

This research addresses coordinated passage of opposing vehicle platoons on mountain construction access roads through vehicle detection and signal control. The control system developed by the team has been deployed at an expressway construction site.

Since 2024

Evaluating the correctness of LLM-generated optimization models

This research evaluates the correctness of optimization models generated by large language models from textual scheduling problems. It distinguishes agreement on a finite set of numerical instances from model correctness and examines how numerical test coverage affects the detection of modeling errors.

2026, working paper

Time–space diagram of two-way traffic on a single lane

SINGLE-LANE TWO-WAY TRAFFIC

Time-space schematic of long-distance single-lane two-way traffic. Time increases to the right and position upward. Solid and dashed lines represent opposing platoons; dotted bands indicate passing bays.

WRITING