@nodetool-ai/timeline 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (505) hide show
  1. package/README.md +55 -0
  2. package/dist/.nodetool-build-stamp +1 -0
  3. package/dist/animation/bakedAnimation.d.ts +84 -0
  4. package/dist/animation/bakedAnimation.d.ts.map +1 -0
  5. package/dist/animation/bakedAnimation.js +95 -0
  6. package/dist/animation/bakedAnimation.js.map +1 -0
  7. package/dist/animation/beat.d.ts +7 -0
  8. package/dist/animation/beat.d.ts.map +1 -0
  9. package/dist/animation/beat.js +36 -0
  10. package/dist/animation/beat.js.map +1 -0
  11. package/dist/animation/compile.d.ts +184 -0
  12. package/dist/animation/compile.d.ts.map +1 -0
  13. package/dist/animation/compile.js +312 -0
  14. package/dist/animation/compile.js.map +1 -0
  15. package/dist/animation/custom.d.ts +183 -0
  16. package/dist/animation/custom.d.ts.map +1 -0
  17. package/dist/animation/custom.js +583 -0
  18. package/dist/animation/custom.js.map +1 -0
  19. package/dist/animation/easing.d.ts +34 -0
  20. package/dist/animation/easing.d.ts.map +1 -0
  21. package/dist/animation/easing.js +332 -0
  22. package/dist/animation/easing.js.map +1 -0
  23. package/dist/animation/index.d.ts +20 -0
  24. package/dist/animation/index.d.ts.map +1 -0
  25. package/dist/animation/index.js +20 -0
  26. package/dist/animation/index.js.map +1 -0
  27. package/dist/animation/links.d.ts +33 -0
  28. package/dist/animation/links.d.ts.map +1 -0
  29. package/dist/animation/links.js +126 -0
  30. package/dist/animation/links.js.map +1 -0
  31. package/dist/animation/presets.d.ts +86 -0
  32. package/dist/animation/presets.d.ts.map +1 -0
  33. package/dist/animation/presets.js +642 -0
  34. package/dist/animation/presets.js.map +1 -0
  35. package/dist/animation/sample.d.ts +145 -0
  36. package/dist/animation/sample.d.ts.map +1 -0
  37. package/dist/animation/sample.js +390 -0
  38. package/dist/animation/sample.js.map +1 -0
  39. package/dist/animation/simplify.d.ts +70 -0
  40. package/dist/animation/simplify.d.ts.map +1 -0
  41. package/dist/animation/simplify.js +278 -0
  42. package/dist/animation/simplify.js.map +1 -0
  43. package/dist/animation/sourceCurves.d.ts +45 -0
  44. package/dist/animation/sourceCurves.d.ts.map +1 -0
  45. package/dist/animation/sourceCurves.js +168 -0
  46. package/dist/animation/sourceCurves.js.map +1 -0
  47. package/dist/animation/styleTracks.d.ts +23 -0
  48. package/dist/animation/styleTracks.d.ts.map +1 -0
  49. package/dist/animation/styleTracks.js +341 -0
  50. package/dist/animation/styleTracks.js.map +1 -0
  51. package/dist/animation/types.d.ts +269 -0
  52. package/dist/animation/types.d.ts.map +1 -0
  53. package/dist/animation/types.js +173 -0
  54. package/dist/animation/types.js.map +1 -0
  55. package/dist/animation/typewriter.d.ts +8 -0
  56. package/dist/animation/typewriter.d.ts.map +1 -0
  57. package/dist/animation/typewriter.js +32 -0
  58. package/dist/animation/typewriter.js.map +1 -0
  59. package/dist/audioFade.d.ts +73 -0
  60. package/dist/audioFade.d.ts.map +1 -0
  61. package/dist/audioFade.js +134 -0
  62. package/dist/audioFade.js.map +1 -0
  63. package/dist/authoredStyles.d.ts +61 -0
  64. package/dist/authoredStyles.d.ts.map +1 -0
  65. package/dist/authoredStyles.js +90 -0
  66. package/dist/authoredStyles.js.map +1 -0
  67. package/dist/authoring.d.ts +50 -0
  68. package/dist/authoring.d.ts.map +1 -0
  69. package/dist/authoring.js +207 -0
  70. package/dist/authoring.js.map +1 -0
  71. package/dist/beats.d.ts +103 -0
  72. package/dist/beats.d.ts.map +1 -0
  73. package/dist/beats.js +228 -0
  74. package/dist/beats.js.map +1 -0
  75. package/dist/clone.d.ts +32 -0
  76. package/dist/clone.d.ts.map +1 -0
  77. package/dist/clone.js +53 -0
  78. package/dist/clone.js.map +1 -0
  79. package/dist/composition.d.ts +87 -0
  80. package/dist/composition.d.ts.map +1 -0
  81. package/dist/composition.js +253 -0
  82. package/dist/composition.js.map +1 -0
  83. package/dist/crop.d.ts +48 -0
  84. package/dist/crop.d.ts.map +1 -0
  85. package/dist/crop.js +75 -0
  86. package/dist/crop.js.map +1 -0
  87. package/dist/defaults.d.ts +142 -0
  88. package/dist/defaults.d.ts.map +1 -0
  89. package/dist/defaults.js +335 -0
  90. package/dist/defaults.js.map +1 -0
  91. package/dist/dependencyHash.d.ts +14 -0
  92. package/dist/dependencyHash.d.ts.map +1 -0
  93. package/dist/dependencyHash.js +19 -0
  94. package/dist/dependencyHash.js.map +1 -0
  95. package/dist/dropResolve.d.ts +40 -0
  96. package/dist/dropResolve.d.ts.map +1 -0
  97. package/dist/dropResolve.js +137 -0
  98. package/dist/dropResolve.js.map +1 -0
  99. package/dist/examples/node.d.ts +11 -0
  100. package/dist/examples/node.d.ts.map +1 -0
  101. package/dist/examples/node.js +87 -0
  102. package/dist/examples/node.js.map +1 -0
  103. package/dist/extension.d.ts +52 -0
  104. package/dist/extension.d.ts.map +1 -0
  105. package/dist/extension.js +269 -0
  106. package/dist/extension.js.map +1 -0
  107. package/dist/extensionRequest.d.ts +40 -0
  108. package/dist/extensionRequest.d.ts.map +1 -0
  109. package/dist/extensionRequest.js +135 -0
  110. package/dist/extensionRequest.js.map +1 -0
  111. package/dist/fill-text.d.ts +30 -0
  112. package/dist/fill-text.d.ts.map +1 -0
  113. package/dist/fill-text.js +73 -0
  114. package/dist/fill-text.js.map +1 -0
  115. package/dist/fonts/catalog.d.ts +97 -0
  116. package/dist/fonts/catalog.d.ts.map +1 -0
  117. package/dist/fonts/catalog.js +276 -0
  118. package/dist/fonts/catalog.js.map +1 -0
  119. package/dist/fonts/css.d.ts +24 -0
  120. package/dist/fonts/css.d.ts.map +1 -0
  121. package/dist/fonts/css.js +50 -0
  122. package/dist/fonts/css.js.map +1 -0
  123. package/dist/fonts/index.d.ts +10 -0
  124. package/dist/fonts/index.d.ts.map +1 -0
  125. package/dist/fonts/index.js +10 -0
  126. package/dist/fonts/index.js.map +1 -0
  127. package/dist/fonts/register-node.d.ts +45 -0
  128. package/dist/fonts/register-node.d.ts.map +1 -0
  129. package/dist/fonts/register-node.js +71 -0
  130. package/dist/fonts/register-node.js.map +1 -0
  131. package/dist/generatedMatte.d.ts +86 -0
  132. package/dist/generatedMatte.d.ts.map +1 -0
  133. package/dist/generatedMatte.js +152 -0
  134. package/dist/generatedMatte.js.map +1 -0
  135. package/dist/generative.d.ts +145 -0
  136. package/dist/generative.d.ts.map +1 -0
  137. package/dist/generative.js +396 -0
  138. package/dist/generative.js.map +1 -0
  139. package/dist/group.d.ts +47 -0
  140. package/dist/group.d.ts.map +1 -0
  141. package/dist/group.js +131 -0
  142. package/dist/group.js.map +1 -0
  143. package/dist/index.d.ts +55 -0
  144. package/dist/index.d.ts.map +1 -0
  145. package/dist/index.js +58 -0
  146. package/dist/index.js.map +1 -0
  147. package/dist/interchange.d.ts +47 -0
  148. package/dist/interchange.d.ts.map +1 -0
  149. package/dist/interchange.js +158 -0
  150. package/dist/interchange.js.map +1 -0
  151. package/dist/keyframes.d.ts +44 -0
  152. package/dist/keyframes.d.ts.map +1 -0
  153. package/dist/keyframes.js +148 -0
  154. package/dist/keyframes.js.map +1 -0
  155. package/dist/lineDelivery.d.ts +108 -0
  156. package/dist/lineDelivery.d.ts.map +1 -0
  157. package/dist/lineDelivery.js +154 -0
  158. package/dist/lineDelivery.js.map +1 -0
  159. package/dist/linked.d.ts +41 -0
  160. package/dist/linked.d.ts.map +1 -0
  161. package/dist/linked.js +166 -0
  162. package/dist/linked.js.map +1 -0
  163. package/dist/lipSyncRequest.d.ts +65 -0
  164. package/dist/lipSyncRequest.d.ts.map +1 -0
  165. package/dist/lipSyncRequest.js +73 -0
  166. package/dist/lipSyncRequest.js.map +1 -0
  167. package/dist/measureClipDurations.d.ts +7 -0
  168. package/dist/measureClipDurations.d.ts.map +1 -0
  169. package/dist/measureClipDurations.js +17 -0
  170. package/dist/measureClipDurations.js.map +1 -0
  171. package/dist/mediaTrack.d.ts +120 -0
  172. package/dist/mediaTrack.d.ts.map +1 -0
  173. package/dist/mediaTrack.js +269 -0
  174. package/dist/mediaTrack.js.map +1 -0
  175. package/dist/midi/cacheKey.d.ts +25 -0
  176. package/dist/midi/cacheKey.d.ts.map +1 -0
  177. package/dist/midi/cacheKey.js +54 -0
  178. package/dist/midi/cacheKey.js.map +1 -0
  179. package/dist/midi/edit.d.ts +48 -0
  180. package/dist/midi/edit.d.ts.map +1 -0
  181. package/dist/midi/edit.js +93 -0
  182. package/dist/midi/edit.js.map +1 -0
  183. package/dist/midi/engines/bl1.d.ts +29 -0
  184. package/dist/midi/engines/bl1.d.ts.map +1 -0
  185. package/dist/midi/engines/bl1.js +128 -0
  186. package/dist/midi/engines/bl1.js.map +1 -0
  187. package/dist/midi/engines/dr1.d.ts +28 -0
  188. package/dist/midi/engines/dr1.d.ts.map +1 -0
  189. package/dist/midi/engines/dr1.js +101 -0
  190. package/dist/midi/engines/dr1.js.map +1 -0
  191. package/dist/midi/engines/dsp.d.ts +126 -0
  192. package/dist/midi/engines/dsp.d.ts.map +1 -0
  193. package/dist/midi/engines/dsp.js +371 -0
  194. package/dist/midi/engines/dsp.js.map +1 -0
  195. package/dist/midi/engines/index.d.ts +13 -0
  196. package/dist/midi/engines/index.d.ts.map +1 -0
  197. package/dist/midi/engines/index.js +13 -0
  198. package/dist/midi/engines/index.js.map +1 -0
  199. package/dist/midi/engines/kits.d.ts +12 -0
  200. package/dist/midi/engines/kits.d.ts.map +1 -0
  201. package/dist/midi/engines/kits.js +121 -0
  202. package/dist/midi/engines/kits.js.map +1 -0
  203. package/dist/midi/engines/wavetables.d.ts +45 -0
  204. package/dist/midi/engines/wavetables.d.ts.map +1 -0
  205. package/dist/midi/engines/wavetables.js +334 -0
  206. package/dist/midi/engines/wavetables.js.map +1 -0
  207. package/dist/midi/engines/wt1.d.ts +30 -0
  208. package/dist/midi/engines/wt1.d.ts.map +1 -0
  209. package/dist/midi/engines/wt1.js +91 -0
  210. package/dist/midi/engines/wt1.js.map +1 -0
  211. package/dist/midi/grid.d.ts +51 -0
  212. package/dist/midi/grid.d.ts.map +1 -0
  213. package/dist/midi/grid.js +104 -0
  214. package/dist/midi/grid.js.map +1 -0
  215. package/dist/midi/index.d.ts +20 -0
  216. package/dist/midi/index.d.ts.map +1 -0
  217. package/dist/midi/index.js +20 -0
  218. package/dist/midi/index.js.map +1 -0
  219. package/dist/midi/instrument.d.ts +32 -0
  220. package/dist/midi/instrument.d.ts.map +1 -0
  221. package/dist/midi/instrument.js +73 -0
  222. package/dist/midi/instrument.js.map +1 -0
  223. package/dist/midi/notes.d.ts +46 -0
  224. package/dist/midi/notes.d.ts.map +1 -0
  225. package/dist/midi/notes.js +121 -0
  226. package/dist/midi/notes.js.map +1 -0
  227. package/dist/midi/notesEdit.d.ts +94 -0
  228. package/dist/midi/notesEdit.d.ts.map +1 -0
  229. package/dist/midi/notesEdit.js +159 -0
  230. package/dist/midi/notesEdit.js.map +1 -0
  231. package/dist/midi/presets.d.ts +29 -0
  232. package/dist/midi/presets.d.ts.map +1 -0
  233. package/dist/midi/presets.js +281 -0
  234. package/dist/midi/presets.js.map +1 -0
  235. package/dist/midi/tempo.d.ts +27 -0
  236. package/dist/midi/tempo.d.ts.map +1 -0
  237. package/dist/midi/tempo.js +57 -0
  238. package/dist/midi/tempo.js.map +1 -0
  239. package/dist/midi/ticks.d.ts +25 -0
  240. package/dist/midi/ticks.d.ts.map +1 -0
  241. package/dist/midi/ticks.js +35 -0
  242. package/dist/midi/ticks.js.map +1 -0
  243. package/dist/midi/voice.d.ts +148 -0
  244. package/dist/midi/voice.d.ts.map +1 -0
  245. package/dist/midi/voice.js +348 -0
  246. package/dist/midi/voice.js.map +1 -0
  247. package/dist/midi/wav.d.ts +14 -0
  248. package/dist/midi/wav.d.ts.map +1 -0
  249. package/dist/midi/wav.js +51 -0
  250. package/dist/midi/wav.js.map +1 -0
  251. package/dist/model3d.d.ts +41 -0
  252. package/dist/model3d.d.ts.map +1 -0
  253. package/dist/model3d.js +39 -0
  254. package/dist/model3d.js.map +1 -0
  255. package/dist/model3dBake.d.ts +80 -0
  256. package/dist/model3dBake.d.ts.map +1 -0
  257. package/dist/model3dBake.js +127 -0
  258. package/dist/model3dBake.js.map +1 -0
  259. package/dist/ops/apply.d.ts +32 -0
  260. package/dist/ops/apply.d.ts.map +1 -0
  261. package/dist/ops/apply.js +1595 -0
  262. package/dist/ops/apply.js.map +1 -0
  263. package/dist/ops/index.d.ts +13 -0
  264. package/dist/ops/index.d.ts.map +1 -0
  265. package/dist/ops/index.js +13 -0
  266. package/dist/ops/index.js.map +1 -0
  267. package/dist/ops/op.d.ts +407 -0
  268. package/dist/ops/op.d.ts.map +1 -0
  269. package/dist/ops/op.js +61 -0
  270. package/dist/ops/op.js.map +1 -0
  271. package/dist/ops/serialize.d.ts +77 -0
  272. package/dist/ops/serialize.d.ts.map +1 -0
  273. package/dist/ops/serialize.js +81 -0
  274. package/dist/ops/serialize.js.map +1 -0
  275. package/dist/ops/types.d.ts +150 -0
  276. package/dist/ops/types.d.ts.map +1 -0
  277. package/dist/ops/types.js +12 -0
  278. package/dist/ops/types.js.map +1 -0
  279. package/dist/pathSampling.d.ts +51 -0
  280. package/dist/pathSampling.d.ts.map +1 -0
  281. package/dist/pathSampling.js +111 -0
  282. package/dist/pathSampling.js.map +1 -0
  283. package/dist/placement/index.d.ts +2 -0
  284. package/dist/placement/index.d.ts.map +1 -0
  285. package/dist/placement/index.js +2 -0
  286. package/dist/placement/index.js.map +1 -0
  287. package/dist/placement/resolveTrackPlacement.d.ts +40 -0
  288. package/dist/placement/resolveTrackPlacement.d.ts.map +1 -0
  289. package/dist/placement/resolveTrackPlacement.js +71 -0
  290. package/dist/placement/resolveTrackPlacement.js.map +1 -0
  291. package/dist/production.d.ts +99 -0
  292. package/dist/production.d.ts.map +1 -0
  293. package/dist/production.js +328 -0
  294. package/dist/production.js.map +1 -0
  295. package/dist/reassemble.d.ts +68 -0
  296. package/dist/reassemble.d.ts.map +1 -0
  297. package/dist/reassemble.js +187 -0
  298. package/dist/reassemble.js.map +1 -0
  299. package/dist/recipe.d.ts +24 -0
  300. package/dist/recipe.d.ts.map +1 -0
  301. package/dist/recipe.js +89 -0
  302. package/dist/recipe.js.map +1 -0
  303. package/dist/recordedVoiceReplacement.d.ts +70 -0
  304. package/dist/recordedVoiceReplacement.d.ts.map +1 -0
  305. package/dist/recordedVoiceReplacement.js +82 -0
  306. package/dist/recordedVoiceReplacement.js.map +1 -0
  307. package/dist/reframe.d.ts +31 -0
  308. package/dist/reframe.d.ts.map +1 -0
  309. package/dist/reframe.js +227 -0
  310. package/dist/reframe.js.map +1 -0
  311. package/dist/render/canvas2d.d.ts +419 -0
  312. package/dist/render/canvas2d.d.ts.map +1 -0
  313. package/dist/render/canvas2d.js +1392 -0
  314. package/dist/render/canvas2d.js.map +1 -0
  315. package/dist/render/color.d.ts +26 -0
  316. package/dist/render/color.d.ts.map +1 -0
  317. package/dist/render/color.js +305 -0
  318. package/dist/render/color.js.map +1 -0
  319. package/dist/render/cpuLegacyEffects.d.ts +17 -0
  320. package/dist/render/cpuLegacyEffects.d.ts.map +1 -0
  321. package/dist/render/cpuLegacyEffects.js +347 -0
  322. package/dist/render/cpuLegacyEffects.js.map +1 -0
  323. package/dist/render/cpuVisualEffects.d.ts +13 -0
  324. package/dist/render/cpuVisualEffects.d.ts.map +1 -0
  325. package/dist/render/cpuVisualEffects.js +388 -0
  326. package/dist/render/cpuVisualEffects.js.map +1 -0
  327. package/dist/render/cubeLut.d.ts +12 -0
  328. package/dist/render/cubeLut.d.ts.map +1 -0
  329. package/dist/render/cubeLut.js +81 -0
  330. package/dist/render/cubeLut.js.map +1 -0
  331. package/dist/render/curveFitting.d.ts +28 -0
  332. package/dist/render/curveFitting.d.ts.map +1 -0
  333. package/dist/render/curveFitting.js +94 -0
  334. package/dist/render/curveFitting.js.map +1 -0
  335. package/dist/render/draw.d.ts +265 -0
  336. package/dist/render/draw.d.ts.map +1 -0
  337. package/dist/render/draw.js +929 -0
  338. package/dist/render/draw.js.map +1 -0
  339. package/dist/render/effects.d.ts +120 -0
  340. package/dist/render/effects.d.ts.map +1 -0
  341. package/dist/render/effects.js +804 -0
  342. package/dist/render/effects.js.map +1 -0
  343. package/dist/render/frameCompositor.d.ts +502 -0
  344. package/dist/render/frameCompositor.d.ts.map +1 -0
  345. package/dist/render/frameCompositor.js +1331 -0
  346. package/dist/render/frameCompositor.js.map +1 -0
  347. package/dist/render/index.d.ts +27 -0
  348. package/dist/render/index.d.ts.map +1 -0
  349. package/dist/render/index.js +27 -0
  350. package/dist/render/index.js.map +1 -0
  351. package/dist/render/layout.d.ts +17 -0
  352. package/dist/render/layout.d.ts.map +1 -0
  353. package/dist/render/layout.js +197 -0
  354. package/dist/render/layout.js.map +1 -0
  355. package/dist/render/model3dBakeSamples.d.ts +45 -0
  356. package/dist/render/model3dBakeSamples.d.ts.map +1 -0
  357. package/dist/render/model3dBakeSamples.js +68 -0
  358. package/dist/render/model3dBakeSamples.js.map +1 -0
  359. package/dist/render/motionBlur.d.ts +170 -0
  360. package/dist/render/motionBlur.d.ts.map +1 -0
  361. package/dist/render/motionBlur.js +193 -0
  362. package/dist/render/motionBlur.js.map +1 -0
  363. package/dist/render/sceneModel.d.ts +577 -0
  364. package/dist/render/sceneModel.d.ts.map +1 -0
  365. package/dist/render/sceneModel.js +1460 -0
  366. package/dist/render/sceneModel.js.map +1 -0
  367. package/dist/render/shapeGeometry.d.ts +81 -0
  368. package/dist/render/shapeGeometry.d.ts.map +1 -0
  369. package/dist/render/shapeGeometry.js +460 -0
  370. package/dist/render/shapeGeometry.js.map +1 -0
  371. package/dist/render/spatial.d.ts +9 -0
  372. package/dist/render/spatial.d.ts.map +1 -0
  373. package/dist/render/spatial.js +58 -0
  374. package/dist/render/spatial.js.map +1 -0
  375. package/dist/render/svgPath.d.ts +80 -0
  376. package/dist/render/svgPath.d.ts.map +1 -0
  377. package/dist/render/svgPath.js +199 -0
  378. package/dist/render/svgPath.js.map +1 -0
  379. package/dist/render/temporal.d.ts +6 -0
  380. package/dist/render/temporal.d.ts.map +1 -0
  381. package/dist/render/temporal.js +74 -0
  382. package/dist/render/temporal.js.map +1 -0
  383. package/dist/render/textLayout.d.ts +159 -0
  384. package/dist/render/textLayout.d.ts.map +1 -0
  385. package/dist/render/textLayout.js +301 -0
  386. package/dist/render/textLayout.js.map +1 -0
  387. package/dist/render/trackEffects.d.ts +23 -0
  388. package/dist/render/trackEffects.d.ts.map +1 -0
  389. package/dist/render/trackEffects.js +93 -0
  390. package/dist/render/trackEffects.js.map +1 -0
  391. package/dist/render/transform.d.ts +54 -0
  392. package/dist/render/transform.d.ts.map +1 -0
  393. package/dist/render/transform.js +222 -0
  394. package/dist/render/transform.js.map +1 -0
  395. package/dist/render/transition.d.ts +109 -0
  396. package/dist/render/transition.d.ts.map +1 -0
  397. package/dist/render/transition.js +351 -0
  398. package/dist/render/transition.js.map +1 -0
  399. package/dist/retarget.d.ts +73 -0
  400. package/dist/retarget.d.ts.map +1 -0
  401. package/dist/retarget.js +305 -0
  402. package/dist/retarget.js.map +1 -0
  403. package/dist/rippleEdit.d.ts +83 -0
  404. package/dist/rippleEdit.d.ts.map +1 -0
  405. package/dist/rippleEdit.js +184 -0
  406. package/dist/rippleEdit.js.map +1 -0
  407. package/dist/scene.d.ts +28 -0
  408. package/dist/scene.d.ts.map +1 -0
  409. package/dist/scene.js +28 -0
  410. package/dist/scene.js.map +1 -0
  411. package/dist/script-link.d.ts +52 -0
  412. package/dist/script-link.d.ts.map +1 -0
  413. package/dist/script-link.js +78 -0
  414. package/dist/script-link.js.map +1 -0
  415. package/dist/script.d.ts +52 -0
  416. package/dist/script.d.ts.map +1 -0
  417. package/dist/script.js +93 -0
  418. package/dist/script.js.map +1 -0
  419. package/dist/snap.d.ts +2 -0
  420. package/dist/snap.d.ts.map +1 -0
  421. package/dist/snap.js +21 -0
  422. package/dist/snap.js.map +1 -0
  423. package/dist/snapping/buildSnapPoints.d.ts +16 -0
  424. package/dist/snapping/buildSnapPoints.d.ts.map +1 -0
  425. package/dist/snapping/buildSnapPoints.js +39 -0
  426. package/dist/snapping/buildSnapPoints.js.map +1 -0
  427. package/dist/snapping/index.d.ts +3 -0
  428. package/dist/snapping/index.d.ts.map +1 -0
  429. package/dist/snapping/index.js +3 -0
  430. package/dist/snapping/index.js.map +1 -0
  431. package/dist/snapping/resolveSnap.d.ts +19 -0
  432. package/dist/snapping/resolveSnap.d.ts.map +1 -0
  433. package/dist/snapping/resolveSnap.js +39 -0
  434. package/dist/snapping/resolveSnap.js.map +1 -0
  435. package/dist/sourceRate.d.ts +12 -0
  436. package/dist/sourceRate.d.ts.map +1 -0
  437. package/dist/sourceRate.js +13 -0
  438. package/dist/sourceRate.js.map +1 -0
  439. package/dist/spatialVideoRequest.d.ts +91 -0
  440. package/dist/spatialVideoRequest.d.ts.map +1 -0
  441. package/dist/spatialVideoRequest.js +175 -0
  442. package/dist/spatialVideoRequest.js.map +1 -0
  443. package/dist/splitClip.d.ts +3 -0
  444. package/dist/splitClip.d.ts.map +1 -0
  445. package/dist/splitClip.js +190 -0
  446. package/dist/splitClip.js.map +1 -0
  447. package/dist/stableSerialize.d.ts +11 -0
  448. package/dist/stableSerialize.d.ts.map +1 -0
  449. package/dist/stableSerialize.js +31 -0
  450. package/dist/stableSerialize.js.map +1 -0
  451. package/dist/staleSet.d.ts +41 -0
  452. package/dist/staleSet.d.ts.map +1 -0
  453. package/dist/staleSet.js +106 -0
  454. package/dist/staleSet.js.map +1 -0
  455. package/dist/storyboard.d.ts +221 -0
  456. package/dist/storyboard.d.ts.map +1 -0
  457. package/dist/storyboard.js +417 -0
  458. package/dist/storyboard.js.map +1 -0
  459. package/dist/subtitles.d.ts +61 -0
  460. package/dist/subtitles.d.ts.map +1 -0
  461. package/dist/subtitles.js +92 -0
  462. package/dist/subtitles.js.map +1 -0
  463. package/dist/takes.d.ts +76 -0
  464. package/dist/takes.d.ts.map +1 -0
  465. package/dist/takes.js +238 -0
  466. package/dist/takes.js.map +1 -0
  467. package/dist/timeRemap.d.ts +101 -0
  468. package/dist/timeRemap.d.ts.map +1 -0
  469. package/dist/timeRemap.js +183 -0
  470. package/dist/timeRemap.js.map +1 -0
  471. package/dist/trackOrder.d.ts +38 -0
  472. package/dist/trackOrder.d.ts.map +1 -0
  473. package/dist/trackOrder.js +54 -0
  474. package/dist/trackOrder.js.map +1 -0
  475. package/dist/transitionAtCut.d.ts +89 -0
  476. package/dist/transitionAtCut.d.ts.map +1 -0
  477. package/dist/transitionAtCut.js +217 -0
  478. package/dist/transitionAtCut.js.map +1 -0
  479. package/dist/trimClip.d.ts +13 -0
  480. package/dist/trimClip.d.ts.map +1 -0
  481. package/dist/trimClip.js +60 -0
  482. package/dist/trimClip.js.map +1 -0
  483. package/dist/types.d.ts +1772 -0
  484. package/dist/types.d.ts.map +1 -0
  485. package/dist/types.js +84 -0
  486. package/dist/types.js.map +1 -0
  487. package/fonts/BebasNeue-Regular.ttf +0 -0
  488. package/fonts/Inter-ExtraBold.ttf +0 -0
  489. package/fonts/Inter-Italic-Variable.ttf +0 -0
  490. package/fonts/Inter-SemiBold.ttf +0 -0
  491. package/fonts/Inter-Variable.ttf +0 -0
  492. package/fonts/JetBrainsMono-Italic-Variable.ttf +0 -0
  493. package/fonts/JetBrainsMono-Variable.ttf +0 -0
  494. package/fonts/Lora-Italic-Variable.ttf +0 -0
  495. package/fonts/Lora-Variable.ttf +0 -0
  496. package/fonts/OFL-BebasNeue.txt +93 -0
  497. package/fonts/OFL-Inter.txt +93 -0
  498. package/fonts/OFL-JetBrainsMono.txt +93 -0
  499. package/fonts/OFL-Lora.txt +93 -0
  500. package/fonts/OFL-PlayfairDisplay.txt +93 -0
  501. package/fonts/OFL-SpaceGrotesk.txt +93 -0
  502. package/fonts/PlayfairDisplay-Italic-Variable.ttf +0 -0
  503. package/fonts/PlayfairDisplay-Variable.ttf +0 -0
  504. package/fonts/SpaceGrotesk-Variable.ttf +0 -0
  505. package/package.json +108 -0
package/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # @nodetool-ai/timeline
2
+
3
+ Core timeline types and status models for the NodeTool timeline feature for [NodeTool](https://nodetool.ai).
4
+
5
+ The canonical type layer plus pure editing math for NodeTool's video timeline: sequences, tracks, clips, markers, versions, and status values, along with framework-free helpers for splitting, trimming, snapping, placement, and staleness detection. Blend modes are re-exported from `@nodetool-ai/gpu` so the timeline preview compositor agrees with the sketch editor and Compositor node.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @nodetool-ai/timeline
11
+ ```
12
+
13
+ ## Exported symbols
14
+
15
+ | Symbol | Kind | Description |
16
+ | --- | --- | --- |
17
+ | `TimelineSequence` | interface | Top-level sequence (tracks, clips, markers, transcript) |
18
+ | `TimelineTrack` | interface | A track within a sequence |
19
+ | `TimelineClip` | interface | A clip placed on a track |
20
+ | `TimelineMarker` | interface | A timeline marker |
21
+ | `ClipStatus` | type | `draft`, `queued`, `generating`, `generated`, `stale`, … |
22
+ | `BlendMode` | type | Re-exported from `@nodetool-ai/gpu` |
23
+ | `makeSequence` / `makeTrack` / `makeClip` / `makeMarker` | function | Factories for default sequence, track, clip, and marker |
24
+ | `makeClipVersion` / `makeTrackEffect` | function | Factories for a clip version and a track effect |
25
+ | `createTimeOrderedUuid` | function | Time-ordered UUID for stable ids |
26
+ | `splitClip` | function | Split a clip at a time into two clips |
27
+ | `trimClip` | function | Trim a clip's in/out points |
28
+ | `snap` | function | Snap a time value to nearby points |
29
+ | `ClipFadeShape` | type | `linear`, `sCurve`, `plus3dB`, `minus3dB` |
30
+ | `fadeShapeGain` / `sampleFadeShape` | function | A fade curve's gain at a point, or sampled across a span |
31
+ | `resolveClipFades` / `clipFadeGain` | function | A clip's fade lengths clamped to it, and its envelope gain |
32
+ | `ffmpegFadeCurve` | function | The `afade` curve matching a shape |
33
+ | `canClipFade` | function | Whether a media type has sound to fade |
34
+ | `sourceRate` | function | Compute a clip's source playback rate |
35
+ | `resolveSnap` / `buildSnapPoints` | function | Snapping resolution and snap-point construction |
36
+ | `resolveTrackPlacement` | function | Resolve where a clip lands across tracks |
37
+ | `computeStaleSet` | function | Determine which clips are stale |
38
+
39
+ The Node-only `computeDependencyHash` lives at the `@nodetool-ai/timeline/dependencyHash` subpath (it depends on `node:crypto`).
40
+
41
+ ## Usage
42
+
43
+ ```ts
44
+ import { makeSequence, makeClip, splitClip } from "@nodetool-ai/timeline";
45
+
46
+ const sequence = makeSequence({ name: "Intro", fps: 30 });
47
+ const clip = makeClip({ startMs: 0, durationMs: 5000 });
48
+
49
+ const [head, tail] = splitClip(clip, 2000);
50
+ ```
51
+
52
+ ## Links
53
+
54
+ - [NodeTool](https://nodetool.ai)
55
+ - [GitHub](https://github.com/nodetool-ai/nodetool)
@@ -0,0 +1 @@
1
+ 2026-09-28T09:19:04.940Z
@@ -0,0 +1,84 @@
1
+ /**
2
+ * One machine-produced curve written onto a clip.
3
+ *
4
+ * A custom animation can come from a hand edit, a JS body, or something that
5
+ * measured the media — an audio envelope, a tracker. The last kind is the one
6
+ * a caller re-runs: change the sensitivity, bake again, and the clip must end
7
+ * up with one curve rather than a stack of near-identical ones. So the write
8
+ * is not `animate_clip`'s "append or replace everything", it is "replace the
9
+ * animation this same producer put here, and leave everything else alone".
10
+ *
11
+ * `custom.bakedFrom.kind` plus the driven property is the identity that
12
+ * decides it. A hand-edited animation carries no `bakedFrom`, so it never
13
+ * matches and is never overwritten by a re-bake — the rule that keeps a curve
14
+ * someone tuned by hand from disappearing when the bake behind it is repeated.
15
+ *
16
+ * The curve is source-anchored (`timeBase: "source"`): it names absolute
17
+ * milliseconds in the clip's media, so a trim or a split re-slices it
18
+ * (`sourceCurves.ts`) rather than stretching motion that was measured against
19
+ * the footage. `normalizeCustomCurves` is the gate here as everywhere else.
20
+ *
21
+ * Pure — no document, DOM, GPU or store — so the ops module, the headless
22
+ * bridge and any host that holds clips all read one implementation.
23
+ */
24
+ import type { AnimationRole, ClipAnimation, CustomClipAnimation } from "./types.js";
25
+ /** `bakedFrom.kind` the audio bake stamps, so a re-bake finds its own curve. */
26
+ export declare const AUDIO_BAKED_ANIMATION_KIND = "audio";
27
+ /** Provenance stored on the animation: what produced it, and from what. */
28
+ export type BakedAnimationProvenance = NonNullable<CustomClipAnimation["bakedFrom"]>;
29
+ /** One point of a baked curve, placed in the media's own clock. */
30
+ export interface BakedKeyframeInput {
31
+ sourceMs: number;
32
+ value: number;
33
+ easing?: string;
34
+ }
35
+ /** What a producer hands the writer: one curve plus where it came from. */
36
+ export interface BakedAnimationInput {
37
+ /** An {@link import("./types.js").AnimatedProperty}; the gate checks it. */
38
+ property: string;
39
+ keyframes: readonly BakedKeyframeInput[];
40
+ /** Only `"source"`. A clip-normalized curve is what `animate_clip` writes. */
41
+ timeBase?: string;
42
+ bakedFrom: BakedAnimationProvenance;
43
+ /** Default `"emphasis"` — the role whose window is the clip itself. */
44
+ role?: AnimationRole;
45
+ /** Default the clip's own duration, so the window is the whole clip. */
46
+ durationMs?: number;
47
+ /** Default 0. */
48
+ delayMs?: number;
49
+ easing?: string;
50
+ params?: Record<string, number | string | boolean>;
51
+ /** `{direction, softness}`; required when the curve drives `wipeProgress`. */
52
+ mask?: unknown;
53
+ /** Default true. False appends beside an existing bake instead. */
54
+ replace?: boolean;
55
+ }
56
+ /** The clip fields the writer reads. Structural, so it needs no document. */
57
+ export interface BakedAnimationTarget {
58
+ durationMs: number;
59
+ animations?: ClipAnimation[];
60
+ }
61
+ export interface BakedAnimationOutcome {
62
+ /** The clip's new animation list, in document order. */
63
+ animations: ClipAnimation[];
64
+ animation: ClipAnimation;
65
+ animationId: string;
66
+ /** True when an earlier bake of the same kind and property was overwritten. */
67
+ replaced: boolean;
68
+ }
69
+ /**
70
+ * Index of the animation an earlier bake of `kind` left driving `property`,
71
+ * or -1. Exported because a caller reporting "this replaced something" wants
72
+ * the same answer the write uses.
73
+ */
74
+ export declare function findBakedAnimationIndex(animations: readonly ClipAnimation[] | undefined, kind: string, property: string): number;
75
+ /**
76
+ * Build the animation `set_baked_animation` writes, and the list it belongs
77
+ * in. Throws with the gate's own message on a curve that would render nothing.
78
+ *
79
+ * `bakedAt` is deliberately not stamped: `bakedFrom` is this path's
80
+ * provenance, and a wall-clock field would make two hosts running the same
81
+ * bake produce two different documents.
82
+ */
83
+ export declare function buildBakedAnimation(clip: BakedAnimationTarget, input: BakedAnimationInput, newAnimationId: () => string): BakedAnimationOutcome;
84
+ //# sourceMappingURL=bakedAnimation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bakedAnimation.d.ts","sourceRoot":"","sources":["../../src/animation/bakedAnimation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAOH,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,YAAY,CAAC;AAEpB,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,UAAU,CAAC;AAElD,2EAA2E;AAC3E,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAChD,mBAAmB,CAAC,WAAW,CAAC,CACjC,CAAC;AAEF,mEAAmE;AACnE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,2EAA2E;AAC3E,MAAM,WAAW,mBAAmB;IAClC,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACzC,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,wBAAwB,CAAC;IACpC,uEAAuE;IACvE,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACnD,8EAA8E;IAC9E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,6EAA6E;AAC7E,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,SAAS,EAAE,aAAa,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,EAChD,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAQR;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,oBAAoB,EAC1B,KAAK,EAAE,mBAAmB,EAC1B,cAAc,EAAE,MAAM,MAAM,GAC3B,qBAAqB,CA6DvB"}
@@ -0,0 +1,95 @@
1
+ /**
2
+ * One machine-produced curve written onto a clip.
3
+ *
4
+ * A custom animation can come from a hand edit, a JS body, or something that
5
+ * measured the media — an audio envelope, a tracker. The last kind is the one
6
+ * a caller re-runs: change the sensitivity, bake again, and the clip must end
7
+ * up with one curve rather than a stack of near-identical ones. So the write
8
+ * is not `animate_clip`'s "append or replace everything", it is "replace the
9
+ * animation this same producer put here, and leave everything else alone".
10
+ *
11
+ * `custom.bakedFrom.kind` plus the driven property is the identity that
12
+ * decides it. A hand-edited animation carries no `bakedFrom`, so it never
13
+ * matches and is never overwritten by a re-bake — the rule that keeps a curve
14
+ * someone tuned by hand from disappearing when the bake behind it is repeated.
15
+ *
16
+ * The curve is source-anchored (`timeBase: "source"`): it names absolute
17
+ * milliseconds in the clip's media, so a trim or a split re-slices it
18
+ * (`sourceCurves.ts`) rather than stretching motion that was measured against
19
+ * the footage. `normalizeCustomCurves` is the gate here as everywhere else.
20
+ *
21
+ * Pure — no document, DOM, GPU or store — so the ops module, the headless
22
+ * bridge and any host that holds clips all read one implementation.
23
+ */
24
+ import { CUSTOM_ANIMATION_PRESET_ID, normalizeCustomCurves, resolveCustomMask } from "./custom.js";
25
+ /** `bakedFrom.kind` the audio bake stamps, so a re-bake finds its own curve. */
26
+ export const AUDIO_BAKED_ANIMATION_KIND = "audio";
27
+ /**
28
+ * Index of the animation an earlier bake of `kind` left driving `property`,
29
+ * or -1. Exported because a caller reporting "this replaced something" wants
30
+ * the same answer the write uses.
31
+ */
32
+ export function findBakedAnimationIndex(animations, kind, property) {
33
+ if (!animations)
34
+ return -1;
35
+ return animations.findIndex((animation) => animation.preset === CUSTOM_ANIMATION_PRESET_ID &&
36
+ animation.custom?.bakedFrom?.kind === kind &&
37
+ animation.custom.curves.some((curve) => curve.property === property));
38
+ }
39
+ /**
40
+ * Build the animation `set_baked_animation` writes, and the list it belongs
41
+ * in. Throws with the gate's own message on a curve that would render nothing.
42
+ *
43
+ * `bakedAt` is deliberately not stamped: `bakedFrom` is this path's
44
+ * provenance, and a wall-clock field would make two hosts running the same
45
+ * bake produce two different documents.
46
+ */
47
+ export function buildBakedAnimation(clip, input, newAnimationId) {
48
+ const timeBase = input.timeBase ?? "source";
49
+ if (timeBase !== "source") {
50
+ throw new Error(`set_baked_animation writes a source-anchored curve; timeBase is ` +
51
+ `${JSON.stringify(input.timeBase)}. A curve normalized over the ` +
52
+ "clip's window is what animate_clip takes.");
53
+ }
54
+ const kind = input.bakedFrom?.kind;
55
+ if (typeof kind !== "string" || kind.trim() === "") {
56
+ throw new Error("set_baked_animation needs `bakedFrom.kind` — it is what a re-bake " +
57
+ "matches to replace its own curve instead of stacking another one.");
58
+ }
59
+ const normalized = normalizeCustomCurves([{ property: input.property, keyframes: input.keyframes }], "source");
60
+ if (!normalized.ok)
61
+ throw new Error(normalized.error);
62
+ const curves = normalized.curves;
63
+ const mask = resolveCustomMask(curves, input.mask);
64
+ if (!mask.ok)
65
+ throw new Error(mask.error);
66
+ const animations = [...(clip.animations ?? [])];
67
+ const existingIndex = findBakedAnimationIndex(animations, kind, input.property);
68
+ const replace = input.replace !== false;
69
+ const replaced = replace && existingIndex >= 0;
70
+ const custom = {
71
+ timeBase: "source",
72
+ curves,
73
+ bakedFrom: { ...input.bakedFrom, kind }
74
+ };
75
+ if (mask.mask)
76
+ custom.mask = mask.mask;
77
+ const animation = {
78
+ id: replaced ? animations[existingIndex].id : newAnimationId(),
79
+ role: input.role ?? "emphasis",
80
+ preset: CUSTOM_ANIMATION_PRESET_ID,
81
+ durationMs: input.durationMs ?? clip.durationMs,
82
+ delayMs: input.delayMs ?? 0,
83
+ easing: input.easing,
84
+ params: input.params,
85
+ custom
86
+ };
87
+ if (replaced) {
88
+ animations[existingIndex] = animation;
89
+ }
90
+ else {
91
+ animations.push(animation);
92
+ }
93
+ return { animations, animation, animationId: animation.id, replaced };
94
+ }
95
+ //# sourceMappingURL=bakedAnimation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bakedAnimation.js","sourceRoot":"","sources":["../../src/animation/bakedAnimation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAOrB,gFAAgF;AAChF,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAmDlD;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CACrC,UAAgD,EAChD,IAAY,EACZ,QAAgB;IAEhB,IAAI,CAAC,UAAU;QAAE,OAAO,CAAC,CAAC,CAAC;IAC3B,OAAO,UAAU,CAAC,SAAS,CACzB,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,CAAC,MAAM,KAAK,0BAA0B;QAC/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,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TimelineClip, TimelineTempo } from "../types.js";
2
+ import type { ClipAnimation } from "./types.js";
3
+ export declare function beatAnimationDelayMs(animation: ClipAnimation, clip: Pick<TimelineClip, "startMs">, tempo?: TimelineTempo): number;
4
+ export declare function resolveBeatAnimations(clip: Pick<TimelineClip, "startMs" | "animations">, tempo?: TimelineTempo): ClipAnimation[] | undefined;
5
+ /** Apply a stagger to named clips in visual order without changing media timing. */
6
+ export declare function staggerClipAnimations(clips: readonly TimelineClip[], clipIds: readonly string[], offsetMs: number): TimelineClip[];
7
+ //# sourceMappingURL=beat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"beat.d.ts","sourceRoot":"","sources":["../../src/animation/beat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,EAAE,KAAK,GAAE,aAA6B,GAAG,MAAM,CAQhJ;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,YAAY,CAAC,EAAE,KAAK,GAAE,aAA6B,GAAG,aAAa,EAAE,GAAG,SAAS,CAM3J;AAED,oFAAoF;AACpF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,EAAE,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY,EAAE,CAalI"}
@@ -0,0 +1,36 @@
1
+ import { DEFAULT_TEMPO } from "../midi/tempo.js";
2
+ export function beatAnimationDelayMs(animation, clip, tempo = DEFAULT_TEMPO) {
3
+ const beat = animation.beat;
4
+ if (!beat)
5
+ return animation.delayMs ?? 0;
6
+ const beatMs = 60_000 / Math.max(1, tempo.bpm);
7
+ const anchor = beat.scope === "clip"
8
+ ? (beat.index - 1) * beatMs
9
+ : tempo.offsetMs + (beat.index - 1) * beatMs - clip.startMs;
10
+ return anchor + (beat.offsetMs ?? 0) + (animation.delayMs ?? 0);
11
+ }
12
+ export function resolveBeatAnimations(clip, tempo = DEFAULT_TEMPO) {
13
+ const animations = clip.animations;
14
+ if (!animations?.some((animation) => animation.beat))
15
+ return animations;
16
+ return animations.map((animation) => animation.beat
17
+ ? { ...animation, delayMs: beatAnimationDelayMs(animation, clip, tempo) }
18
+ : animation);
19
+ }
20
+ /** Apply a stagger to named clips in visual order without changing media timing. */
21
+ export function staggerClipAnimations(clips, clipIds, offsetMs) {
22
+ const order = new Map(clipIds.map((id, index) => [id, index]));
23
+ return clips.map((clip) => {
24
+ const index = order.get(clip.id);
25
+ if (index === undefined || !clip.animations?.length)
26
+ return clip;
27
+ return {
28
+ ...clip,
29
+ animations: clip.animations.map((animation) => ({
30
+ ...animation,
31
+ delayMs: (animation.delayMs ?? 0) + index * offsetMs
32
+ }))
33
+ };
34
+ });
35
+ }
36
+ //# sourceMappingURL=beat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"beat.js","sourceRoot":"","sources":["../../src/animation/beat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,MAAM,UAAU,oBAAoB,CAAC,SAAwB,EAAE,IAAmC,EAAE,KAAK,GAAkB,aAAa;IACtI,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;IAC5B,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC,OAAO,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAC/C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,KAAK,MAAM;QAClC,CAAC,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AU,EAAE,MAAM;YAAE,OAAO,IAAI,CAAC;QACjE,OAAO;YACL,GAAG,IAAI;YACP,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;gBAC9C,GAAG,SAAS;gBACZ,OAAO,EAAE,CAAC,SAAS,CAAC,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,QAAQ;aACrD,CAAC,CAAC;SACJ,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,184 @@
1
+ /**
2
+ * Preset → curve compiler. Presets never render directly; `compileClipAnimations`
3
+ * resolves each `ClipAnimation` into a `CompiledAnimation` — a window on the
4
+ * clip-local clock plus keyframe curves with easing baked onto each segment.
5
+ * The sampler (`sample.ts`) then needs no preset or role knowledge.
6
+ *
7
+ * Pure: no DOM, GPU, or store access.
8
+ */
9
+ import type { AnimatedProperty, AnimationStyleTrack, AnimationRole, ClipAnimation, StaggerFrom, StaggerUnit, WipeDirection } from "./types.js";
10
+ import { type Canvas } from "./presets.js";
11
+ export interface Keyframe {
12
+ /** Normalized 0..1 within the animation window. */
13
+ t: number;
14
+ value: number;
15
+ /**
16
+ * Easing of the segment ending at this keyframe. Undefined → linear. A
17
+ * string rather than an {@link EasingId} so it carries the easing grammar
18
+ * too (see `parseEasing`).
19
+ */
20
+ easing?: string;
21
+ /**
22
+ * Absolute source-media time in ms. Present (and the keyframe's real
23
+ * position) only on a source-anchored curve — one whose animation compiled
24
+ * with `timeBase: "source"`; the sampler reads this instead of `t` there.
25
+ */
26
+ sourceMs?: number;
27
+ }
28
+ export interface PropertyCurve {
29
+ property: AnimatedProperty;
30
+ /**
31
+ * Sorted by `t`; first `t === 0`, last `t === 1`. On a source-anchored curve
32
+ * the keyframes are sorted by `sourceMs` and `t` is its normalized position
33
+ * over the curve's own source span, which lands on the same invariant.
34
+ */
35
+ keyframes: Keyframe[];
36
+ }
37
+ /**
38
+ * Static per-animation mask config for wipe-style presets. Direction and
39
+ * softness never animate — only the `wipeProgress` curve does — so they ride
40
+ * on the compiled animation, not on a curve.
41
+ */
42
+ export interface CompiledAnimationMask {
43
+ direction: WipeDirection;
44
+ /** Feathered edge width as a fraction of the wipe axis (0 = hard edge). */
45
+ softness: number;
46
+ }
47
+ /**
48
+ * Resolved per-unit stagger on a compiled animation. When present, the
49
+ * compiled `windowStartMs..windowEndMs` covers the FULL stagger span (first
50
+ * unit's window start → last unit's window end); each unit's own window is
51
+ * derived from it: `[windowStartMs + delay(i), + unitDurationMs]` for
52
+ * non-loop roles, a `delay(i)` phase shift for loops. The block-level
53
+ * sampler folds only the animation's effect/mask curves over the full span;
54
+ * transform/opacity curves are sampled per unit by
55
+ * `sampleStaggeredAnimations`.
56
+ */
57
+ export interface CompiledStagger {
58
+ /** What the text splits into. The rasterizer walks the same unit. */
59
+ unit: StaggerUnit;
60
+ /** Number of units. Always ≥ 2 — fewer compiles un-staggered. */
61
+ count: number;
62
+ /**
63
+ * Effective per-step delay in ms. May be smaller than the authored
64
+ * `offsetMs` when the stretched span was clamped to fit the clip.
65
+ */
66
+ offsetMs: number;
67
+ from: StaggerFrom;
68
+ /** One unit's animation length in ms (the authored `durationMs`). */
69
+ unitDurationMs: number;
70
+ /** Largest per-unit delay: `maxStaggerFactor(from, count) * offsetMs`. */
71
+ maxDelayMs: number;
72
+ /**
73
+ * True when the span did not fit the clip and `offsetMs` was shrunk to make
74
+ * it — the units still all complete, but they overlap more than the author
75
+ * asked for. The validator warns on it; nothing at render time reads it.
76
+ */
77
+ compressed: boolean;
78
+ }
79
+ /**
80
+ * Per-unit delay in ms for unit `index` of a compiled stagger. `from`
81
+ * ordering: `"start"` = first unit first, `"end"` = last unit first,
82
+ * `"center"` = middle units first, rippling outward.
83
+ *
84
+ * The centre distance is floored so the middle unit — the middle PAIR, on an
85
+ * even count — starts at 0. An unfloored `|index - last/2|` gives an even
86
+ * count no unit at delay 0 (four units at 100ms each: 150, 50, 50, 150), which
87
+ * starts the whole line half an offset late and overstates the span by the
88
+ * same amount.
89
+ */
90
+ export declare function staggerUnitDelayMs(stagger: CompiledStagger, index: number): number;
91
+ /**
92
+ * Word count of a text — whitespace-separated words across all lines, matching
93
+ * the text rasterizer's wrap tokenization. The `"word"` case of
94
+ * `countTextStaggerUnits`, which is where the other units are counted (they
95
+ * need the wrap, and this module has no text measurement).
96
+ */
97
+ export declare function countStaggerUnits(text: string): number;
98
+ export interface CompiledAnimation {
99
+ /**
100
+ * The `ClipAnimation.id` this was compiled from. The sampler records it as
101
+ * the winner of a `replace` channel, so a validator can name the animation
102
+ * that took the channel.
103
+ */
104
+ id: string;
105
+ role: AnimationRole;
106
+ /** Clip-local ms, resolved from role + delay + duration. */
107
+ windowStartMs: number;
108
+ windowEndMs: number;
109
+ /**
110
+ * Repeat the window until clip end. Set by the preset's role handling, not
111
+ * derived from role alone: most `"loop"` presets compile `loop: true`, but
112
+ * `kenBurns` compiles `loop: false` (one-shot over the whole clip).
113
+ */
114
+ loop: boolean;
115
+ /** Cycle length in ms when `loop` is true; the window runs to clip end. */
116
+ periodMs?: number;
117
+ /**
118
+ * Clip-local ms the cycle is counted from when `loop` is true. Equals
119
+ * `windowStartMs` unless the authored `delayMs` was negative, which is how
120
+ * a split carries the phase of a cycle already under way onto the right
121
+ * half: the window still opens at 0, the phase does not restart.
122
+ */
123
+ loopOriginMs?: number;
124
+ /** Hold the `t=0` values before the window (true for `"in"`). */
125
+ holdBefore: boolean;
126
+ /** Hold the `t=1` values after the window (true for `"out"`). */
127
+ holdAfter: boolean;
128
+ curves: PropertyCurve[];
129
+ /** Per-unit text color, blur and tracking curves. */
130
+ glyphTracks?: AnimationStyleTrack[];
131
+ /**
132
+ * Clock the curves are placed on. Absent or `"clip"`: the sampler evaluates
133
+ * them at the normalized `t` of the window. `"source"`: it evaluates them at
134
+ * the clip's current source time in ms, which the caller passes to
135
+ * `sampleAnimations`. The window still gates when the animation applies.
136
+ */
137
+ timeBase?: "clip" | "source";
138
+ /** Present only when the preset drives a `wipeProgress` curve. */
139
+ mask?: CompiledAnimationMask;
140
+ /** Present only when a per-unit stagger is active (see {@link CompiledStagger}). */
141
+ stagger?: CompiledStagger;
142
+ caret?: {
143
+ color: string;
144
+ widthPx: number;
145
+ blinkPeriodMs: number;
146
+ };
147
+ }
148
+ export interface CompileClipAnimationsOptions {
149
+ /**
150
+ * Number of stagger units the clip's content splits into, counted in
151
+ * `staggerUnit`. Omitted or < 2 → `stagger` configs compile as plain block
152
+ * animations, which is how stagger stays a no-op on non-text clips.
153
+ * `countTextStaggerUnits` (render/textLayout.ts) is what produces it, from
154
+ * the same wrap the rasterizer draws through.
155
+ */
156
+ staggerCount?: number;
157
+ /**
158
+ * The unit `staggerCount` was counted in. A clip is laid out in one unit, so
159
+ * an animation declaring a different one compiles un-staggered. Defaults to
160
+ * `"word"`, which is what a caller that only passes a count means.
161
+ */
162
+ staggerUnit?: StaggerUnit;
163
+ }
164
+ /**
165
+ * Compile a clip's animations into windowed curves.
166
+ *
167
+ * - `canvas` resolves normalized preset distances to px.
168
+ * - `clipDurationMs` sets window math; windows are clamped to it and windows
169
+ * that start at or after clip end are dropped.
170
+ * - Unknown presets and roles the preset does not allow are skipped (with a
171
+ * console warning) — forward compatibility with newer documents.
172
+ * - The reserved preset `"custom"` takes its curves from `animation.custom`
173
+ * (baked by a JS body, see `custom.ts`) instead of the catalog. Unusable
174
+ * baked curves are skipped the same way an unknown preset is.
175
+ * - A `stagger` config (with `options.staggerCount` ≥ 2) stretches the
176
+ * compiled window to the full stagger span: each unit animates for the
177
+ * authored `durationMs`, delayed `offsetMs` from the previous, so the span
178
+ * is `durationMs + maxDelay`. `"in"`/`"emphasis"` spans grow forward from
179
+ * the delay; `"out"` spans grow backward so the last unit still ends at
180
+ * `clipEnd - delayMs`. When the span does not fit the clip the per-step
181
+ * offset shrinks (never the per-unit duration) so every unit completes.
182
+ */
183
+ export declare function compileClipAnimations(animations: ClipAnimation[] | undefined, clipDurationMs: number, canvas: Canvas, options?: CompileClipAnimationsOptions): CompiledAnimation[];
184
+ //# sourceMappingURL=compile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/animation/compile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EAEb,aAAa,EAEb,WAAW,EACX,WAAW,EACX,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,OAAO,EAGL,KAAK,MAAM,EACZ,MAAM,cAAc,CAAC;AAOtB,MAAM,WAAW,QAAQ;IACvB,mDAAmD;IACnD,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,aAAa,CAAC;IACzB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,IAAI,EAAE,WAAW,CAAC;IAClB,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,qEAAqE;IACrE,cAAc,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,eAAe,EACxB,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