Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexharri/animation-editor
/ functions
Functions
1,040 in github.com/alexharri/animation-editor
⨍
Functions
1,040
◇
Types & classes
330
↓ 1 callers
Function
getId
()
src/composition/manager/property/propertyStore.ts:4
↓ 1 callers
Function
getInputHeight
(node: FlowNode<FlowNodeType>, index: number)
src/flow/util/flowNodeHeight.ts:25
↓ 1 callers
Function
getInsertBelowLayerIndex
( mousePosGlobal: Vec2, )
src/timeline/timelineHandlers.ts:488
↓ 1 callers
Function
getInsertIndex
( arr: T[], toInsert: T, comparator: (item: T, toInsert: T) => number, low?: number, high?: number, )
src/util/alg/getInsertIndex.ts:3
↓ 1 callers
Function
getItemControlPointPositions
( item: ShapePathItem, shapeState: ShapeState, )
src/shape/shapeUtils.ts:40
↓ 1 callers
Method
getLayerAtPoint
(actionState: ActionState, point: Vec2)
src/composition/manager/layer/LayerManager.tsx:251
↓ 1 callers
Function
getLayerFlowGraphOrder
(layerGraphIds: string[], compiledFlows: CompiledFlow[])
src/flow/flowGraphOrder.ts:7
↓ 1 callers
Function
getLayerProperties
( type: T, opts: CreatePropertyOptions, props: Partial<TypeToProps[T]>, transform?: LayerTransform, )
src/composition/factories/layerFactory.ts:55
↓ 1 callers
Method
getLayerPropertyMap
(layerId: string)
src/composition/manager/layer/LayerManager.tsx:409
↓ 1 callers
Function
getLayerRect
( actionState: ActionState, layer: Layer, propertyMap: LayerPropertyMap, getPropertyValue: (propertyId: st
src/composition/layer/layerDimensions.ts:96
↓ 1 callers
Function
getLayerTargetsWithinComposition
( composition: Composition, layerWrapper: HTMLDivElement, )
src/project/dragCompositionEligibleTargets.ts:15
↓ 1 callers
Function
getLayerTypeSpecificProperties
( type: T, opts: CreatePropertyOptions, props: Partial<TypeToProps[T]>, )
src/composition/factories/layerFactory.ts:34
↓ 1 callers
Function
getMatricesToApply
(j: number)
src/render/pixi/pixiTransform.ts:59
↓ 1 callers
Function
getNApplications
(j: number)
src/render/pixi/pixiTransform.ts:49
↓ 1 callers
Function
getNdArrayIndex
(dimensions: number[], indices: number[])
src/util/ndArray.ts:62
↓ 1 callers
Function
getParentPropertyInLayer
( layerId: string, propertyId: string, compositionState: CompositionState, )
src/composition/compositionUtils.ts:426
↓ 1 callers
Function
getPathNodesBoundingBoxCenter
( nodes: Record<string, ShapeNode>, )
src/svg/svgUtils.ts:4
↓ 1 callers
Function
getPixiLayerGraphic
( actionState: ActionState, layer: Layer, getPropertyValue: (propertyId: string) => any, )
src/render/pixi/layerToPixi.ts:116
↓ 1 callers
Function
getPolygonIntersections
(polygon)
src/util/math/svgPath.js:75
↓ 1 callers
Function
getPropertyIdsPotentiallyAffectedByNodes
(nodes: CompiledFlowNode[])
src/composition/property/getPropertyIdsAffectedByNodes.ts:3
↓ 1 callers
Function
getPropertyIdsThatAffectFlow
(compiledFlow: CompiledFlow)
src/flow/flowGraphOrder.ts:3
↓ 1 callers
Function
getPropertyMaxValue
(propertyName: PropertyName)
src/property/propertyConstants.ts:22
↓ 1 callers
Function
getPropertyMinValue
(propertyName: PropertyName)
src/property/propertyConstants.ts:18
↓ 1 callers
Function
getPropertyTimelineColor
(propertyName: PropertyName)
src/property/propertyConstants.ts:42
↓ 1 callers
Function
getRect
(actionState: ActionState, layerId: string)
src/composition/manager/interaction/interactionManager.ts:92
↓ 1 callers
Function
getSavedActionState
()
src/state/saveState.ts:29
↓ 1 callers
Function
getSvgNodeTransformMatrix
(node: SVGNode)
src/svg/parse/svgNodeTransformMatrix.ts:5
↓ 1 callers
Function
getWindowInitData
()
src/main/windowInitData.ts:11
↓ 1 callers
Function
globalToNormal
(vec: Vec2)
src/workspace/penTool/penToolContext.ts:47
↓ 1 callers
Function
globalToNormal
(vec: Vec2)
src/graphEditor/graphEditorContext.ts:91
↓ 1 callers
Function
globalToWorkspacePosition
( globalPosition: Vec2, viewport: Rect, scale: number, pan: Vec2, )
src/workspace/workspaceUtils.ts:1
↓ 1 callers
Function
handleAreaDragFromCorner
( e: React.MouseEvent, corner: IntercardinalDirection, areaId: string, viewport: Rect, )
src/area/handlers/areaDragFromCorner.ts:48
↓ 1 callers
Function
handleDragAreaResize
( _e: React.MouseEvent, row: AreaRowLayout, horizontal: boolean, areaIndex: number, // 1 is the first sepa
src/area/handlers/areaDragResize.ts:11
↓ 1 callers
Function
handleSvg
(node: SVGSvgNode)
src/svg/composition/compositionFromSvg.ts:13
↓ 1 callers
Function
hasSelectedParent
(parentLayerId: string)
src/workspace/moveTool/moveTool.ts:238
↓ 1 callers
Function
insertAtStart
( cornerParts: [CardinalDirection, CardinalDirection], horizontal: boolean, )
src/area/util/areaToRow.ts:4
↓ 1 callers
Function
interactionManagerDiffHandler
( compositionId: string, interactions: InteractionManager, actionState: ActionState, diffs: Diff[], direc
src/composition/manager/interaction/interactionManagerDiffHandler.ts:13
↓ 1 callers
Function
intersectInfiniteLines
(a: Line, b: Line)
src/util/math/intersection/intersectInfiniteLines.ts:13
↓ 1 callers
Function
isActualIntersection
(entry, exit, polygon)
src/util/math/svgPath.js:44
↓ 1 callers
Function
isFlatBezier
(bezier: CubicBezier)
src/timeline/timelineUtils.ts:26
↓ 1 callers
Function
isLeftClick
(e: { button: number })
src/util/mouse.ts:1
↓ 1 callers
Function
isMiddleClick
(e: { button: number })
src/util/mouse.ts:5
↓ 1 callers
Function
isObjectWithRectProperties
( value: object, )
src/flow/flowValueConversion.ts:66
↓ 1 callers
Function
isObjectWithXY
(value: object)
src/flow/flowValueConversion.ts:26
↓ 1 callers
Function
isReferencedBy
(id: string)
src/composition/layer/layerUtils.ts:62
↓ 1 callers
Function
isRightClick
(e: { button: number })
src/util/mouse.ts:9
↓ 1 callers
Function
isShapePathClosed
(path: ShapePath)
src/shape/shapeUtils.ts:682
↓ 1 callers
Function
layerManagerDiffHandler
( compositionId: string, layerManager: LayerManager, propertyManager: PropertyManager, actionState: Action
src/composition/manager/layer/layerManagerDiffHandler.ts:22
↓ 1 callers
Function
layerParentSort
( layerIds: string[], compositionState: CompositionState, )
src/shared/layer/layerParentSort.ts:8
↓ 1 callers
Function
lerp
(out: Vec2, a: Vec2, b: Vec2, t: number)
src/util/math/closestPoint.ts:105
↓ 1 callers
Function
lineBoundingRect
(line: Line)
src/util/math/boundingRect.ts:101
↓ 1 callers
Function
lineLayerPropertiesFactory
( opts: CreatePropertyOptions, props: Partial<LineProperties> = {}, )
src/composition/factories/lineLayerPropertiesFactory.ts:81
↓ 1 callers
Function
lineLayerPropertyMap
(layerId: string, compositionState: CompositionState)
src/composition/layer/layerPropertyMap.ts:124
↓ 1 callers
Function
localMinimum
Find a minimum point for a bounded function. May be a local minimum. * minX : the smallest input value * maxX : the largest input value * ƒ
src/util/math/closestPoint.ts:64
↓ 1 callers
Function
manageTopLevelComposition
( compositionId: string, areaId: string, canvas: HTMLCanvasElement, setErrors: (errors: CompositionError[]
src/composition/manager/compositionManager.ts:134
↓ 1 callers
Function
mapKeysEqual
(a: M, b: M)
src/util/mapUtils.ts:96
↓ 1 callers
Function
maxVec2
(a: Vec2, b: Vec2)
src/util/math/intersection/intersectBezier3Line.ts:7
↓ 1 callers
Function
minVec2
(a: Vec2, b: Vec2)
src/util/math/intersection/intersectBezier3Line.ts:6
↓ 1 callers
Function
moveTool
(e: React.MouseEvent, el: HTMLElement, options: Options)
src/workspace/useWorkspaceCursor.ts:27
↓ 1 callers
Method
multiply
(matOrVec: T)
src/util/math/mat.ts:92
↓ 1 callers
Function
newTess
(curves: Array<Line | CubicBezier>)
src/util/math/newTess.ts:5
↓ 1 callers
Function
normalizePolygonDirection
(polygon)
src/util/math/svgPath.js:229
↓ 1 callers
Function
onAddSelect
(options: AddNodeOptions)
src/flow/util/flowGraphContextMenu.ts:55
↓ 1 callers
Function
onChange
(valueType: ValueType)
src/flow/nodes/expression/ExpressionNodeOutput.tsx:64
↓ 1 callers
Function
onChange
(valueType: ValueType)
src/flow/nodes/expression/ExpressionNodeInput.tsx:65
↓ 1 callers
Function
onCurve
(curve: Curve)
src/svg/parse/shapeLayerFromCurves.ts:27
↓ 1 callers
Method
onDimensionsChange
(actionState: ActionState, dimensions: LayerDimension[])
src/composition/manager/layer/LayerManager.tsx:350
↓ 1 callers
Method
onDimensionsUpdate
(actionState: ActionState, dimensions: LayerDimension[])
src/composition/manager/layer/LayerManager.tsx:362
↓ 1 callers
Function
onGroupClick
(index: number)
src/toolbar/Toolbar.tsx:50
↓ 1 callers
Function
onItemClick
(tool: Tool)
src/toolbar/Toolbar.tsx:40
↓ 1 callers
Function
onListMouseOut
(i: number)
src/contextMenu/normal/NormalContextMenu.tsx:128
↓ 1 callers
Function
onListMouseOver
(options: ContextMenuOption[], i: number, j: number)
src/contextMenu/normal/NormalContextMenu.tsx:101
↓ 1 callers
Function
onMouseMoveListener
(e: MouseEvent | React.MouseEvent)
src/hook/useCanvasPixelSelector.ts:17
↓ 1 callers
Function
onMouseUpFn
()
src/area/handlers/areaDragFromCorner.ts:74
↓ 1 callers
Function
onMove
(e?: MouseEvent)
src/timeline/timelineHandlers.ts:71
↓ 1 callers
Function
onRemoveParent
(params: RequestActionParams)
src/timeline/layer/TimelineLayerParent.tsx:71
↓ 1 callers
Function
onResize
()
src/hook/useRefRect.ts:23
↓ 1 callers
Function
onSelectLayer
(layerId: string)
src/flow/nodes/property/PropertyNodeSelectProperty.tsx:248
↓ 1 callers
Function
onSelectParent
(params: RequestActionParams, parentId: string)
src/timeline/layer/TimelineLayerParent.tsx:79
↓ 1 callers
Function
onSubmit
()
src/timeline/value/TimelineColorValue.tsx:60
↓ 1 callers
Method
onUpdateLayerParent
(actionState: ActionState, layerId: string)
src/composition/manager/layer/LayerManager.tsx:202
↓ 1 callers
Function
openGraphEditorContextMenu
(position: Vec2, opts: Options)
src/graphEditor/graphEditorContextMenu.ts:12
↓ 1 callers
Function
outlineLine
(line: Line, width: number)
src/util/math.ts:327
↓ 1 callers
Function
parseChild
(parentContext: ParseSvgContext, node: ElementNode)
src/svg/parse/svgTree.ts:32
↓ 1 callers
Function
parseD
(d: string)
src/svg/parse/dToCurves.ts:31
↓ 1 callers
Function
parseItem
(item: Json)
src/state/saveState.ts:6
↓ 1 callers
Function
parseStyleString
(style: string)
src/svg/svgStylesheet.ts:33
↓ 1 callers
Function
passDiffsToManagers
( ctx: CompositionManager, actionState: ActionState, diffs: Diff[], direction: "forward" | "backward", )
src/composition/manager/compositionDiffHandler.ts:9
↓ 1 callers
Function
pathControlPointsBoundingRect
(curves: Curve[])
src/util/math/boundingRect.ts:112
↓ 1 callers
Function
pathify
* Converts the element types specified by `toPathify` and the * nodes whose transform cannot be represented by a LayerTransform * into path elements
src/svg/parse/svgTree.ts:94
↓ 1 callers
Function
penTool
(e: React.MouseEvent, el: HTMLElement, options: Options)
src/workspace/useWorkspaceCursor.ts:78
↓ 1 callers
Function
penToolMovePathIds
( moveVector: Vec2, state: ShapeState, pathIds: string[], )
src/workspace/penTool/penToolMoveObjects.ts:113
↓ 1 callers
Function
pixiLineCap
(lineCap: LineCap)
src/render/pixi/pixiConstants.ts:4
↓ 1 callers
Function
pixiLineJoin
(lineJoin: LineJoin)
src/render/pixi/pixiConstants.ts:15
↓ 1 callers
Function
pointStringToPoints
(pointString: string)
src/svg/parse/polyToPoints.ts:1
↓ 1 callers
Function
populateLayerManager
(actionState: ActionState, layerManager: LayerManager)
src/composition/manager/populateLayerManager.ts:4
↓ 1 callers
Function
positiveAngleRadians
(angle: number)
src/util/math.ts:134
↓ 1 callers
Function
projectVecToAngle
(vec: Vec2, angle: number)
src/util/math.ts:158
↓ 1 callers
Function
recomputePropertyValueArraysAffectedByNode
( node: FlowNode<FlowNodeType.property_output>, actionState: ActionState, propertyStore: PropertyStore, no
src/composition/property/recomputePropertyValuesAffectedByNode.ts:65
↓ 1 callers
Function
recomputePropertyValuesAffectedByNode
( node: FlowNode<FlowNodeType.property_output>, actionState: ActionState, propertyStore: PropertyStore, no
src/composition/property/recomputePropertyValuesAffectedByNode.ts:4
← previous
next →
501–600 of 1,040, ranked by callers