Overview
Swipe to Collapse is a single-player iPhone game and interactive quantum wave simulation.
This app displays a real-time simulation of the Schrödinger equation using compute shaders.
A quantum wave function lives on the grid. Its colour is the phase and its brightness is how likely the particle is to be there (|ψ|²). You play by observing it.
App purpose and target audience
The app lets users play with a quantum wave function. The color represents phase, and the brightness represents probability density, |ψ|². Users interact with the wave by dragging across the field to observe a selected region. When the user releases, the wave function collapses probabilistically according to the Born rule.
The app is designed for users who enjoy physics-inspired games, experimental arcade games, and interactive science visualizations. Its value is to turn abstract quantum concepts such as observation, probability density, phase, wave function collapse, and position/momentum representations into an interactive visual experience.
The app is intended for entertainment and educational exploration. It is not a professional scientific, medical, financial, or regulated-industry tool.
Observe
Drag across the field to outline a region, then let go to measure it. The wave collapses by the Born rule — the particle is either found inside your region (it snaps bright there) or not (that area goes dark). Pick a stage and try it freely before starting a game.
Game
Tap Start for a 30-second round. Green particles roam the field and score continuously — the brighter the wave |ψ| where a particle sits, the faster it scores. Observe (drag) to collapse the wave and pile it onto the green particles. Red particles (stage 2+) drain your score the same way, so keep the wave dark around them. Best 3 scores per stage are saved. Tap × to quit.
Z/pZ Lab — position & momentum together
An experimental mode on the finite set Z/pZ, where position and momentum are both finite and the Fourier transform links them. Two strips show \psi(x) and \hat{\psi}(k) at once — drag either one to observe in that basis. The carpet below charts the wave over time; watch the fractal revivals. Switch p, potential, kinetic term, initial state and more.