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

08Undo History and a Solve Replay

Moves are pushed on a stack and each undo pops one. For a solve replay, if two opposite moves sit side by side both are erased to shorten the line, then the moves show one by one every REPLAY_MS (220) ms. The shortened count and the original count are written together as numbers.

Best forA feature to undo a slip and show how it was solved again

REPLAY_MSstackcancelPair
Undo History and a Solve Replay
Open in a new tab

08 Undo History and a Solve Replay — Measured area 14.764% · moving frames 21/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