Throw and drop

Signature

Moves an object along one natural arc, which reads as physical rather than mechanical. A signature look. Use it only when the brand's style calls for it, never as a default.

Rendered video, with motion blur.

0.00 / 1.52 s

Live preview, driven by the code below. No motion blur.

What it does

An object rises and falls in one unbroken arc before landing.

Curve

Unbroken throw: height, not progress

Values

S is the frame's short side, 1080 px at 1080p. Unmeasured inputs in the preview are illustrations, not rules.

FactValue
Purpose
Enter
Acts on
Card
Typical length
1.52 s (46 frames at 30 fps)
Caution
No pause at the top of the arc and no ripples on landing.
PropertyValue
Position
y0 - v t + 0.5 g t²
v
0.76 S/s (820.8 px/s)
g
1.0 S/s² (1080 px/s²)
Apex
No pause
Landing
No ripples
Export samples
24 (fast window); 1 when still

Code

ts
export const seg = (t: number, a: number, b: number) => Math.max(0, Math.min(1, (t - a) / (b - a)));

export const lerp = (a: number, b: number, k: number) => a + (b - a) * k;

export const out = (k: number) => (k >= 1 ? 1 : 1 - Math.pow(2, -10 * k));

export const io = (k: number) => (k < 0.5 ? 16 * k ** 5 : 1 - Math.pow(-2 * k + 2, 5) / 2);

export const inn = (k: number) => k * k * k;

export const cubicOut = (k: number) => 1 - Math.pow(1 - k, 3);

export const h = (i: number, j: number) => { const x = Math.sin(i * 127.1 + j * 311.7) * 43758.5453; return x - Math.floor(x); };

export const phase = (t: number, start = 0, duration = 0.6) => seg(t, start, start + duration);

export const easeInOut = (p: number) => p < 0.5 ? 4 * p ** 3 : 1 - (-2 * p + 2) ** 3 / 2;

export function throwAndDrop(t: number, y0 = 0) {
  return { y: y0 - 820.8 * t + 0.5 * 1080 * t ** 2 };
}

Rejected variants

TriedVerdict
Ripples on landings
Rejected
An object pausing at the top of its arc
Rejected: one unbroken throw

Best practices

Use it forAvoidRejected before
One thrown object
A pause at the apex
Ripples on landings
An uninterrupted arc
Ripples on landing
An object pausing at the top of its arc

Reduced motion: a simple opacity fade over 0.2 s.