areaLerp

Returns the size a fraction t of the way from a to b by AREA, so a mark at t = 0.5 covers half-way between the two areas.

@internote/canvas-sdkFunction
On this page
import { areaLerp } from '@internote/canvas-sdk';

#Signature

(a: number, b: number, t: number): number

#Parameters

a
The size at t = 0.
b
The size at t = 1.
t
How far from a towards b.

Declared in packages/canvas-sdk/src/geometry/vec2.ts:35.

Last updated