Directional Swipe-Card Physics: 2D Vector Gesture Decision
Interactive 2D directional swipe-card simulator: drag a Tinder-style card in any direction on the plane and watch the real dismiss decision — Euclidean distance threshold OR velocity-vector magnitude threshold — resolve into a directional fling with constant vector deceleration, or a 2D critically-damped spring-back with independently-verified x/y kinematics.
Swipe-card interfaces — Tinder, Bumble, and similar stacked-card pickers — extend the simple horizontal list-row swipe into a genuinely two-dimensional gesture: the card can be thrown in any direction, and the platform's dismiss test runs on the full 2D position and velocity vectors rather than a single horizontal scalar. This simulator implements that vector generalization directly: drag the blue card anywhere on the plane and release it, and the same distance-threshold-OR-velocity-threshold logic used by the 3D horizontal-swipe version now evaluates Euclidean magnitudes |r| and |v|, with the direction of the dominant vector deciding whether the result reads as Like (right), Nope (left) or Super Like (up). A dismissed card exits under constant vector deceleration that always opposes its velocity, keeping its exit path a straight ray with the same v²/(2a) stopping-distance kinematics as the 1D case; a non-dismissed card returns to center through two independent critically-damped spring oscillators, one per axis, both driven by the exact release-velocity vector rather than assuming it started at rest.
Interactive 2D directional swipe-card simulator: drag a Tinder-style card in any direction on the plane and watch the real dismiss decision — Euclidean distance threshold OR velocity-vector magnitude threshold — resolve into a directional fling with constant vector deceleration, or a 2D critically-damped spring-back with independently-verified x/y kinematics.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install