Tilt card
A card that tilts based on pointer position using Motion's spring animations.
Introduction
The Tilt card example shows how to create an interactive card that tilts in 3D based on where your pointer is positioned. When you move your pointer over the card, it rotates to follow the movement, creating a dynamic parallax effect.
This tutorial uses the animate function from Motion to create smooth spring animations, and the frame API to schedule animations efficiently.
