MCPcopy
hub / github.com/gkurt/tegaki / computeTimeline

Function computeTimeline

packages/renderer/src/lib/timeline.ts:136–141  ·  view source on GitHub ↗
(text: string, font: TegakiBundle, config?: TimelineConfig, shaper?: BundleShaper | null)

Source from the content-addressed store, hash-verified

134}
135
136export function computeTimeline(text: string, font: TegakiBundle, config?: TimelineConfig, shaper?: BundleShaper | null): Timeline {
137 if (shaper && font.glyphDataById) {
138 return computeShapedTimeline(text, font, config, shaper);
139 }
140 return computeGraphemeTimeline(text, font, config);
141}
142
143// ---------------------------------------------------------------------------
144// Stagger scheduler — alternative cadence where each glyph starts a fixed

Callers 6

buildRootPropsFunction · 0.90
computeTimelineMethod · 0.90
_recomputeTimelineMethod · 0.90
timeline.test.tsFile · 0.90
textToSvgFunction · 0.90
StreamingTegakiFunction · 0.85

Calls 2

computeShapedTimelineFunction · 0.85
computeGraphemeTimelineFunction · 0.85

Tested by

no test coverage detected