MCPcopy Create free account

hub / github.com/gkurt/tegaki / functions

Functions426 in github.com/gkurt/tegaki

↓ 1 callersFunctionescapeHtml
(s: string)
packages/renderer/src/solid/TegakiRenderer.tsx:49
↓ 1 callersFunctionesm
(p: string)
e2e/examples/check-wc-cdn.ts:22
↓ 1 callersFunctionesmReady
Fetch a built esm.sh module, following its first-level re-export targets.
e2e/examples/check-wc-cdn.ts:29
↓ 1 callersFunctionevalBarryGoldman
( p0: Point3, p1: Point3, p2: Point3, p3: Point3, t0: number, t1: number, t2: number, t3: numb
packages/renderer/src/lib/catmullRom.ts:69
↓ 1 callersFunctionexportGif
( engine: TegakiEngine, opts: { fps?: number; maxWidth?: number; background?: string | null; holdMs?: numb
packages/website/src/components/preview/export.ts:68
↓ 1 callersFunctionexportPng
(engine: TegakiEngine, opts: { background?: string | null } = {})
packages/website/src/components/preview/export.ts:55
↓ 1 callersFunctionexportSvg
(engine: TegakiEngine, opts: { animated: boolean; loop?: boolean })
packages/website/src/components/preview/export.ts:48
↓ 1 callersFunctionexportWebm
( engine: TegakiEngine, opts: { fps?: number; background?: string | null } & ExportProgress = {}, )
packages/website/src/components/preview/export.ts:126
↓ 1 callersFunctionextractAllTtfUrls
(css: string)
packages/generator/src/font/download.ts:9
↓ 1 callersFunctionextractGlyph
(font: opentype.Font, char: string, extraFonts?: opentype.Font[])
packages/generator/src/font/parse.ts:124
↓ 1 callersFunctionextractGlyphById
(font: opentype.Font, glyphId: number)
packages/generator/src/font/parse.ts:91
↓ 1 callersFunctionextractInsideEdges
* Extract Voronoi edges whose midpoints lie inside the glyph shape.
packages/generator/src/processing/voronoi-medial-axis.ts:123
↓ 1 callersMethodfinish
()
packages/website/src/types/gifenc.d.ts:18
↓ 1 callersFunctionflattenPath
(commands: PathCommand[], tolerance = BEZIER_TOLERANCE)
packages/generator/src/processing/bezier.ts:73
↓ 1 callersFunctionfontBundlePlugin
* Rolldown plugin that transforms font bundle source files so the built output * works natively in browsers and on CDNs (no bundler-specific import a
packages/renderer/tsdown.config.ts:50
↓ 1 callersFunctiongenerateGlyphsModule
(args: { fontFileName: string; fontFamily: string; fullFamily: string | undefined; fullFontFileName: s
packages/generator/src/commands/generate.ts:513
↓ 1 callersFunctiongetBundle
(family: string)
packages/renderer/src/core/bundle-registry.ts:28
↓ 1 callersFunctiongetShaperForBundle
(bundle: TegakiBundle)
packages/renderer/src/core/shaper-registry.ts:34
↓ 1 callersFunctiongetStrokeWidth
(x: number, y: number, inverseDT: Float32Array, width: number)
packages/generator/src/processing/width.ts:160
↓ 1 callersFunctiongradientColor
(progress: number, colors: string[], seed: number)
packages/renderer/src/lib/drawGlyph.ts:48
↓ 1 callersFunctionheadlessLayout
* Lay text out left-to-right from the bundle's advance widths — the headless * analogue of the DOM-measured `computeTextLayout`. Lines break only on
packages/renderer/src/lib/textToSvg.ts:59
↓ 1 callersFunctioninferLineCap
(font: opentype.Font)
packages/generator/src/font/parse.ts:38
↓ 1 callersFunctionisRtlCodepoint
(cp: number)
packages/generator/src/processing/rtl.ts:7
↓ 1 callersFunctionisSimplePoint
* Check if a pixel is a simple point (topology-preserving removal). * A foreground pixel is simple if removing it doesn't change the number * of con
packages/generator/src/processing/skeletonize/medial-axis.ts:57
↓ 1 callersFunctionlerpColor
(a: [number, number, number, number], b: [number, number, number, number], t: number)
packages/renderer/src/lib/drawGlyph.ts:39
↓ 1 callersFunctionlistFonts
()
packages/renderer/src/cli.ts:198
↓ 1 callersFunctionloadBundle
* Load a built font bundle by name. Tries the shipped `dist/fonts/<name>` first * (the `npx` path), then the source `fonts/<name>` (running from a ch
packages/renderer/src/cli.ts:221
↓ 1 callersFunctionmain
()
packages/generator/scripts/derive-korean-chars.ts:227
↓ 1 callersFunctionmain
()
packages/renderer/src/cli.ts:240
↓ 1 callersFunctionmeasureWithTempElement
(text: string, fontFamily: string, fontSize: number, lineHeight: number, maxWidth: number)
packages/renderer/src/lib/textLayout.ts:363
↓ 1 callersFunctionmedialAxisThin
(bitmap: Uint8Array, dt: Float32Array, width: number, height: number)
packages/generator/src/processing/skeletonize/medial-axis.ts:14
↓ 1 callersFunctionmergePolylines
* Merge polylines whose endpoints are within `threshold` distance into longer chains. * This reconnects fragments split at junction points by the tra
packages/generator/src/processing/trace.ts:367
↓ 1 callersFunctionmorphologicalThin
(bitmap: Uint8Array, width: number, height: number, maxIterations: number)
packages/generator/src/processing/skeletonize/morphological.ts:12
↓ 1 callersFunctionorderStrokes
( polylines: Point[][], inverseDT: Float32Array | null, bitmapWidth: number, _connectionThreshold = 3,
packages/generator/src/processing/stroke-order.ts:97
↓ 1 callersFunctionorientPolyline
* Orient a polyline so the "natural" starting point comes first. * * For near-closed loops (start ≈ end), rotates the chain to start from the * lef
packages/generator/src/processing/stroke-order.ts:46
↓ 1 callersFunctionparseArgs
(argv: string[])
packages/renderer/src/cli.ts:96
↓ 1 callersFunctionpathLength
(points: Point[])
packages/generator/src/processing/stroke-order.ts:25
↓ 1 callersFunctionpathLength
(points: Point[])
packages/generator/src/processing/trace.ts:530
↓ 1 callersFunctionperpendicularDistance
(point: Point, lineStart: Point, lineEnd: Point)
packages/generator/src/processing/trace.ts:313
↓ 1 callersFunctionpick
(cp: number)
packages/website/src/components/preview/TegakiTextPreview.tsx:365
↓ 1 callersFunctionpickStraightest
* Among candidate neighbors, pick the one whose branch best continues the * estimated direction (dirX, dirY). * * Instead of comparing only the imm
packages/generator/src/processing/trace.ts:155
↓ 1 callersFunctionpickWebmMime
()
packages/website/src/components/preview/export.ts:121
↓ 1 callersFunctionpointKey
* Snap point coordinates to a grid for graph key generation. * Uses 0.1px precision — fine enough to avoid false merges, * coarse enough to merge tr
packages/generator/src/processing/voronoi-medial-axis.ts:225
↓ 1 callersFunctionpreserveUseClientPlugin
* Rolldown treeshakes the bare `'use client'` directive string out of bundled * output (it reads as a side-effect-free expression statement), which s
packages/renderer/tsdown.config.ts:22
↓ 1 callersFunctionpreviewUrl
* Build a URL with the standalone preview params. Values are URL-encoded via * URLSearchParams so callers don't have to escape them.
packages/website/tests/e2e/text-preview.e2e.ts:9
↓ 1 callersFunctionpruneShortSpurs
* Remove short degree-1 branches (spurs) from the graph. * A spur is a chain of degree-2 nodes ending in a degree-1 node, * where the total length i
packages/generator/src/processing/voronoi-medial-axis.ts:400
↓ 1 callersFunctionrainbowColor
(progress: number, saturation: number, lightness: number, seed: number)
packages/renderer/src/lib/drawGlyph.ts:58
↓ 1 callersFunctionrasterize
(subPaths: Point[][], boundingBox: BBox, resolution = DEFAULT_RESOLUTION)
packages/generator/src/processing/rasterize.ts:21
↓ 1 callersFunctionrdpSimplify
(points: Point[], tolerance = RDP_TOLERANCE)
packages/generator/src/processing/trace.ts:332
↓ 1 callersFunctionregisterCssProperties
()
packages/renderer/src/lib/css-properties.ts:12
↓ 1 callersFunctionregisterTegakiElement
(tagName = 'tegaki-renderer')
packages/renderer/src/wc/TegakiElement.ts:286
↓ 1 callersFunctionrenderArrow
(from: Point, to: Point)
packages/generator/src/processing/visualize.ts:394
↓ 1 callersFunctionrenderDebugAnimation
(result: PipelineResult)
packages/generator/src/processing/visualize.ts:228
↓ 1 callersFunctionrenderStage
(result: PipelineResult, stage: VisualizationStage)
packages/generator/src/processing/visualize.ts:20
↓ 1 callersFunctionreorderByPriority
* Move priority-tagged strokes after priority-0 strokes while preserving the * relative order inside each tier. Higher priority draws first (0 > -1),
packages/generator/src/processing/stroke-order.ts:239
↓ 1 callersFunctionresolveAdvance
Parse a stagger advance value into seconds, given the previous glyph's bundled duration.
packages/renderer/src/lib/timeline.ts:151
↓ 1 callersFunctionresolveTimeControl
(prop: TimeControlProp)
packages/renderer/src/core/engine.ts:52
↓ 1 callersFunctionresolveVersion
()
packages/renderer/src/cli.ts:207
↓ 1 callersFunctionresolveVersion
Resolve a dist-tag to a concrete version, then wait for the registry to serve it.
scripts/test-published-examples.ts:53
↓ 1 callersMethodrestart
()
packages/renderer/src/core/engine.ts:420
↓ 1 callersFunctionrestoreErasedComponents
(bitmap: Uint8Array, skeleton: Uint8Array, dt: Float32Array, width: number, height: number)
packages/generator/src/processing/skeletonize/cleanup.ts:32
↓ 1 callersFunctionreverseRTLRuns
* Reorder a harfbuzz-shaped RTL line so that pen-walking forward produces * visual left-to-right positions. HB emits each word's glyphs in within-wor
packages/renderer/src/lib/textLayout.ts:347
↓ 1 callersFunctionrunOne
(spec: FontSpec)
packages/renderer/scripts/generate-fonts.ts:29
↓ 1 callersFunctionsampleBoundary
* Sample evenly-spaced points along the boundary contours.
packages/generator/src/processing/voronoi-medial-axis.ts:68
↓ 1 callersFunctionsampleCatmullRom
(p0: Point3, p1: Point3, p2: Point3, p3: Point3, count: number)
packages/renderer/src/lib/catmullRom.ts:32
↓ 1 callersFunctionselectSyllables
* Rank by Wikipedia frequency, with a tie-break bonus for KS X 1001 members so * the everyday-coverage anchor wins against rare syllables, then take
packages/generator/scripts/derive-korean-chars.ts:180
↓ 1 callersFunctionshape
(text: string)
packages/renderer/src/shaper-harfbuzz/index.ts:172
↓ 1 callersFunctionshortHash
(str: string)
packages/generator/src/constants.ts:221
↓ 1 callersFunctionshouldStopAtJunction
* Detect whether the trace should stop at a junction because other branches * form a crossing stroke (a straight line through the junction). * * Re
packages/generator/src/processing/trace.ts:258
↓ 1 callersFunctionskeletonize
({ subPaths, pathBBox, raster, inverseDT, options, rtl = false }: SkeletonizeInput)
packages/generator/src/processing/skeletonize/index.ts:60
↓ 1 callersFunctionslug
Slugify text into a safe base filename.
packages/renderer/src/cli.ts:86
↓ 1 callersFunctionslugify
(family: string)
packages/generator/src/font/download.ts:5
↓ 1 callersFunctionsmoothJunctionKinks
* Smooth junction kinks in merged polylines using curvature-aware detection. * * Three removal criteria (any one triggers removal): * * 1. **Class
packages/generator/src/processing/trace.ts:430
↓ 1 callersFunctionsplitByCoverage
* Group consecutive characters that resolve to the same subset into runs. * Primary-first coverage check (so shared glyphs like digits stick with the
packages/website/src/components/preview/TegakiTextPreview.tsx:361
↓ 1 callersFunctionstripDevCondition
Remove the `tegaki@dev` member from any (custom)conditions array and tidy up.
scripts/test-published-examples.ts:68
↓ 1 callersFunctionstroke
(d: number, a: number)
packages/renderer/src/lib/utils.test.ts:5
↓ 1 callersFunctionsubdivideCubic
(p0: Point, p1: Point, p2: Point, p3: Point, tolerance: number, result: Point[])
packages/generator/src/processing/bezier.ts:52
↓ 1 callersFunctionsubdivideQuadratic
(p0: Point, p1: Point, p2: Point, tolerance: number, result: Point[])
packages/generator/src/processing/bezier.ts:35
↓ 1 callersFunctionsyncUrlState
(state: UrlState)
packages/website/src/components/url-state.ts:262
↓ 1 callersFunctiontoCompactGlyph
(result: PipelineResult)
packages/generator/src/commands/generate.ts:339
↓ 1 callersFunctiontoCssFeatureSettings
(enabled: readonly string[])
packages/renderer/src/lib/features.ts:23
↓ 1 callersFunctiontoFontUnits
( strokes: Stroke[], transform: RasterResult['transform'], drawingSpeed: number, strokePause: number,
packages/generator/src/processing/font-units.ts:18
↓ 1 callersFunctiontoHbFeatures
Parse the filtered feature tags into `Feature[]` for `shape()`.
packages/renderer/src/shaper-harfbuzz/index.ts:73
↓ 1 callersMethodtoSVG
* Serialize the current text to an SVG string, reusing the engine's measured * layout and timeline so glyph positions match the canvas render exact
packages/renderer/src/core/engine.ts:316
↓ 1 callersFunctiontoggle
(feature: string, enabled: boolean)
packages/website/src/components/preview/GeneratorApp.tsx:895
↓ 1 callersFunctiontraceAndSimplify
( skeleton: Uint8Array, width: number, height: number, rdpTolerance = RDP_TOLERANCE, spurMinLength?:
packages/generator/src/processing/trace.ts:540
↓ 1 callersFunctiontraceGraph
* Build an adjacency graph from edges and trace into polylines. * Also computes width (distance to nearest boundary) at each point.
packages/generator/src/processing/voronoi-medial-axis.ts:233
↓ 1 callersFunctionvoronoiMedialAxis
( subPaths: Point[][], _bbox: BBox, transform: { scaleX: number; scaleY: number; offsetX: number; offset
packages/generator/src/processing/voronoi-medial-axis.ts:36
↓ 1 callersFunctionwaitForEsm
(timeoutMs: number)
e2e/examples/check-wc-cdn.ts:45
↓ 1 callersFunctionwaitForReady
Wait for the standalone preview to signal that the bundle is loaded and rendered.
packages/website/tests/e2e/text-preview.e2e.ts:16
↓ 1 callersFunctionwalk
(root: Document | ShadowRoot)
e2e/examples/check-wc-cdn.ts:86
↓ 1 callersFunctionwalkAlternateSub
Type 3 — Alternate substitution. One input gid → choice of output gids.
packages/generator/src/font/enumerate-variants.ts:183
↓ 1 callersFunctionwalkLigatureSub
* Type 4 — Ligature substitution. Multiple input gids → one output ligature * gid. The first component is in coverage; the remaining components live
packages/generator/src/font/enumerate-variants.ts:207
↓ 1 callersFunctionwalkMultipleSub
Type 2 — Multiple substitution. One input gid → sequence of output gids.
packages/generator/src/font/enumerate-variants.ts:165
↓ 1 callersFunctionwalkSingleSub
Type 1 — Single substitution. One input gid → one output gid.
packages/generator/src/font/enumerate-variants.ts:144
↓ 1 callersFunctionwalkSubtable
Returns true if any ancestor mapping changed.
packages/generator/src/font/enumerate-variants.ts:121
↓ 1 callersFunctionwire
()
examples/hyperframes/tegaki-bootstrap.js:44
↓ 1 callersFunctionwriteDebugOutput
(debugDir: string, char: string, result: PipelineResult)
packages/generator/src/debug/output.ts:21
↓ 1 callersMethodwriteFrame
(index: Uint8Array | number[], width: number, height: number, opts?: WriteFrameOptions)
packages/website/src/types/gifenc.d.ts:17
FunctionAnimationControls
({ result, time, setTime, playing, setPlaying, }: { result: PipelineResult; time: number; setT
packages/website/src/components/preview/stage-views.tsx:179
← previousnext →201–300 of 426, ranked by callers