ARNOLD_CAT_MAP
SYSTEM_PARAMETERS
PARAMETERS
3000
5
CONTROLS
x' = (x + y) mod 1
y' = (x + 2y) mod 1
LIVE_RENDER // CANVAS_2D
ITERATION: 0
0LIVE_RENDER
DATA_LOG: ARNOLD_CAT_MAP
Arnoldβs Cat Map is an area-preserving linear map on the unit torus. Each step shears the square via the matrix [[1,1],[1,2]] (determinant 1) and wraps coordinates. This visualization uses an exact discrete model (integer arithmetic on a fine 2^32 torus) so the simulated map stays a precise bijection without floating-point orbit collapse. The map stretches and folds phase space so nearby points diverge exponentially while overall density stays uniform β the same stretch-and-fold mechanism that classically scrambles images. Points are colored by their initial height so the shearing and mixing remain visible as iterations proceed.