Rotating Puzzle

Rotating Puzzle

A complex puzzle where each image fragment can be flipped or rotated in any direction, challenging the player’s spatial reasoning to reconstruct the original picture.

See the Pen Rotating Puzzle.

Sliding Puzzle with GSAP Draggable and Tailwind CSS

Sliding Puzzle with GSAP Draggable and Tailwind CSS

An implementation of a sliding puzzle using GSAP Draggable - featuring a custom snap function for grid alignment and onThrowComplete logic that uses hitTest to determine move validity and trigger the swap animation.