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

01A Row of Tiles Sliding Toward the Blank in a Chain

Pressing a tile in the same row as the blank moves every tile between them one cell toward the blank. Each tile takes SLIDE_MS (140) ms but starts STAGGER_MS (30) ms after the last, so they follow in turn, and the move is settled in the array first with the screen trailing behind.

Best forAn input where one press moves several tiles

SLIDE_MSSTAGGER_MSrowChain
A Row of Tiles Sliding Toward the Blank in a Chain
Open in a new tab

01 A Row of Tiles Sliding Toward the Blank in a Chain — Measured area 27.141% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Sliding Puzzle: 9 Canvas Scenes, Parity to Search

The post this demo lives in

Sliding Puzzle: 9 Canvas Scenes, Parity to Search - preview of all 9 demosSliding Puzzle: 9 Canvas Scenes, Parity to SearchWhy are some sliding puzzle boards unsolvable? 02 counts flipped pairs to sort them, 05 raises a Manhattan distance boun See all demos in this post

If you like this effect - similar demos