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

09A Snake That Rides Down the Slope of a Distance Wave Spreading From the Food

Fill every cell with its breadth-first distance from the food and colour by distance so a wave spreads out; the snake follows the lowest neighbour value.

Best forPathfinding explainers and navigation visualization

WAVE_SPEEDGRID_NDIST_COLOR_STEPSTICK_MS
A Snake That Rides Down the Slope of a Distance Wave Spreading From the Food
Open in a new tab

09 A Snake That Rides Down the Slope of a Distance Wave Spreading From the Food — Measured area 73.622% · moving frames 23/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