Vitrinev1.0.4

Random walk

A canvas drawn by a script, in the theme’s colours.

A walk on a grid, one step at a time. The script reads the theme’s --accent colour from the canvas, so a new walk after switching to dark mode is drawn in the dark accent. With reduced motion turned on in the system, the whole walk appears at once.

live · Random walk
example.html
<canvas id="walk" width="720" height="240" aria-label="A random walk on a grid"></canvas>
<button id="walk-again" type="button">Another walk</button>