1 JavaScript Folding Effects
Create impressive folding effects with JavaScript and CSS 3D Transforms. At the core is the creation of a 3D space (perspective, preserve-3d), where JavaScript dynamically splits elements into segments and animates them with rotateX/Y(). To build complex sequences and gain precise control over the animation, the power of GSAP and its timelines is leveraged. These techniques are applied to bring UI components to life: from unfolding cards to cinematic page transitions.
Examples

Treasure Map
The map looks like a real sheet of paper that can be virtually “crumpled” or folded with a mouse/finger, complete with realistic shadows and physics.
See the Pen Treasure Map.