CurveData
Defined in: src/types/keyframe.ts:50
Complete curve data model.
Properties
Section titled “Properties”domainX
Section titled “domainX”domainX: [
number,number]
Defined in: src/types/keyframe.ts:54
Domain bounds — x range
domainY
Section titled “domainY”domainY: [
number,number]
Defined in: src/types/keyframe.ts:56
Domain bounds — y range
keyframes
Section titled “keyframes”keyframes:
CurveKeyframe[]
Defined in: src/types/keyframe.ts:52
Ordered array of keyframes (sorted by x)
postInfinity?
Section titled “postInfinity?”
optionalpostInfinity?:"linear"|"constant"|"cycle"|"pingpong"
Defined in: src/types/keyframe.ts:66
Post-infinity behavior — what happens after the last keyframe
Default
Section titled “Default”"constant"preInfinity?
Section titled “preInfinity?”
optionalpreInfinity?:"linear"|"constant"|"cycle"|"pingpong"
Defined in: src/types/keyframe.ts:61
Pre-infinity behavior — what happens before the first keyframe
Default
Section titled “Default”"constant"