GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02A Snake Filling the Whole Board on a Hamiltonian Cycle

Lay a fixed cycle over an even-sized board and shortcut toward the food only as far as it is safe, falling back to the cycle as the body grows.

Best forEndless showcase and idle screens

GRID_NSHORTCUT_MARGINTICK_MSWARM_FILL
A Snake Filling the Whole Board on a Hamiltonian Cycle
Open in a new tab

02 A Snake Filling the Whole Board on a Hamiltonian Cycle — Measured area 61.428% · moving frames 17/23Original by GODRICH · SCSS and React ship in the zip · CSS Snake Game: 9 Boards That Find Their Own Path

The post this demo lives in

CSS Snake Game: 9 Boards That Find Their Own Path - preview of all 9 demosCSS Snake Game: 9 Boards That Find Their Own PathOpen a css snake game and the snake already turns toward the food before you touch a key — scene 01's shortest path and See all demos in this post

If you like this effect - similar demos