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
↓ 277 callers
Method
new
(matrix: Matrix2x2)
src/util/math/mat.ts:10
↓ 241 callers
Method
add
(vec: IVec2)
src/util/math/vec2.ts:73
↓ 142 callers
Function
getActionState
()
src/state/stateUtils.ts:72
↓ 62 callers
Function
requestAction
( options: RequestActionOptions, callback: RequestActionCallback, )
src/listener/requestAction.ts:250
↓ 57 callers
Method
scale
(scalar: number)
src/util/math/mat.ts:37
↓ 55 callers
Function
isKeyDown
(key: Key)
src/listener/keyboard.ts:19
↓ 52 callers
Function
compileStylesheetLabelled
( stylesheet: T, )
src/util/stylesheets.tsx:35
↓ 52 callers
Function
separateLeftRightMouse
({ left, middle, right, }: { left?: ListenerFn; middle?: ListenerFn; right?: ListenerFn; })
src/util/mouse.ts:15
↓ 51 callers
Method
fromEvent
(e: MouseEvent)
src/util/math/vec2.ts:35
↓ 51 callers
Method
sub
(vec: Vec2)
src/util/math/vec2.ts:90
↓ 44 callers
Function
connectActionState
( mapStateToProps: MapActionState<TStateProps, TOwnProps>, )
src/state/stateUtils.ts:58
↓ 37 callers
Function
compSelectionFromState
( compositionId: string, compositionSelectionState: CompositionSelectionState, )
src/composition/util/compSelectionUtils.ts:9
↓ 35 callers
Function
q
()
static/js/clipper.js:78
↓ 35 callers
Function
removeKeysFromMap
(obj: T, keys: string[])
src/util/mapUtils.ts:1
↓ 34 callers
Method
apply
(fn: (vec: Vec2) => IVec2)
src/util/math/vec2.ts:175
↓ 33 callers
Function
createOperation
(params: RequestActionParams)
src/state/operation.ts:6
↓ 33 callers
Function
resolve
(res: any)
src/flow/graphNodeOutputs.ts:147
↓ 32 callers
Function
modifyItemsInMap
( map: M, keys: string | string[], fn: (item: M[keyof M]) => M[keyof M], )
src/util/mapUtils.ts:25
↓ 28 callers
Function
fn
(params)
src/timeline/timelineHandlers.ts:70
↓ 27 callers
Function
mouseDownMoveAction
( eOrInitialPos: React.MouseEvent | MouseEvent | Vec2, options: Options<K, KeyMap>, )
src/util/action/mouseDownMoveAction.ts:49
↓ 25 callers
Function
getProperty
( ctx: ParseSvgContext, node: ElementNode, name: string, )
src/svg/parse/svgAttributes.ts:23
↓ 24 callers
Function
getAreaActionState
(areaId: string)
src/state/stateUtils.ts:81
↓ 24 callers
Function
interpolate
(a: number, b: number, t: number)
src/util/math.ts:4
↓ 23 callers
Function
createGenMapIdFn
(map: M)
src/util/mapUtils.ts:147
↓ 23 callers
Method
getPropertyValue
(propertyId: string)
src/composition/manager/property/propertyStore.ts:21
↓ 23 callers
Function
mergeItemInMap
( map: M, keys: string | string[], fn: (item: M[keyof M]) => Partial<M[keyof M]>, )
src/util/mapUtils.ts:44
↓ 22 callers
Function
getDistance
(a: Vec2, b: Vec2)
src/util/math.ts:15
↓ 21 callers
Function
capToRange
(low: number, high: number, value: number)
src/util/math.ts:12
↓ 21 callers
Function
isVecInRect
(vec: Vec2, rect: Rect)
src/util/math.ts:6
↓ 20 callers
Function
addListToMap
( map: M, items: U[], idField: keyof T & keyof U, )
src/util/mapUtils.ts:10
↓ 20 callers
Function
rgbToBinary
(rgb: RGBColor)
src/util/color/convertColor.ts:16
↓ 19 callers
Function
createAddNodeOption
(options: AddNodeOptions)
src/flow/util/flowGraphContextMenu.ts:73
↓ 18 callers
Function
createMapNumberId
(map: M)
src/util/mapUtils.ts:139
↓ 18 callers
Function
reduceLayerPropertiesAndGroups
( layerId: string, compositionState: CompositionState, fn: (acc: T, property: Property | PropertyGroup) =>
src/composition/compositionUtils.ts:61
↓ 17 callers
Function
constructLayerPropertyMap
( layerId: string, compositionState: CompositionState, )
src/composition/layer/layerPropertyMap.ts:146
↓ 17 callers
Method
round
()
src/util/math/vec2.ts:171
↓ 15 callers
Function
isKeyCodeOf
(key: Key, keyCode: number)
src/listener/keyboard.ts:62
↓ 14 callers
Function
useKeyDownEffect
(key: Key, callback: (isKeyDown: boolean) => void)
src/hook/useKeyDown.ts:11
↓ 13 callers
Function
dispatch
(action, ...args)
src/listener/requestAction.ts:101
↓ 13 callers
Function
exceedsDirectionVector
( directionVec: DirectionVector, distance: number, vec: Vec2, )
src/util/math/exceedsDirectionVector.ts:11
↓ 13 callers
Function
getTimelineIdsReferencedByComposition
( compositionId: string, compositionState: CompositionState, )
src/composition/compositionUtils.ts:336
↓ 13 callers
Function
modifyItemsInUnionMap
( map: M, keys: string | string[], fn: (item: U) => U, )
src/util/mapUtils.ts:63
↓ 12 callers
Function
getActionStateFromApplicationState
( _state: ApplicationState, index?: number, )
src/state/stateUtils.ts:30
↓ 12 callers
Function
getAreaViewport
(areaId: string, _: AreaType)
src/area/util/getAreaViewport.ts:19
↓ 11 callers
Function
hexToRGBAString
(hex: string, alpha = 1)
src/util/color/convertColor.ts:30
↓ 11 callers
Function
isSamePoint
([xa, ya], [xb, yb])
src/util/math/svgPath.js:15
↓ 11 callers
Function
normalToViewport
(vec2: Vec2)
src/composition/interaction/preview.ts:20
↓ 11 callers
Function
renderRect
( ctx: CanvasRenderingContext2D, rects: Rect | Rect[], opts: RenderRectOptions, )
src/util/canvas/renderPrimitives.ts:50
↓ 11 callers
Function
resolveVec2
(data: IVec2)
src/util/math/vec2.ts:8
↓ 11 callers
Method
subX
(x: number)
src/util/math/vec2.ts:99
↓ 10 callers
Method
addLayer
(actionState: ActionState, layerId: string)
src/composition/manager/layer/LayerManager.tsx:85
↓ 10 callers
Function
getControlPointAsVector
( whichControlPoint: "cp0" | "cp1", k0: TimelineKeyframe, k1: TimelineKeyframe, )
src/timeline/timelineUtils.ts:51
↓ 10 callers
Function
reduceCompProperties
( compositionId: string, compositionState: CompositionState, fn: (acc: T, property: Property) => T, initia
src/composition/compositionUtils.ts:232
↓ 9 callers
Function
createNumberGetter
(name: string)
src/svg/parse/svgAttributes.ts:33
↓ 9 callers
Function
createReducerWithHistory
( initialState: S, reducer: (state: S, action: any) => S, options: Options = {}, )
src/state/history/historyReducer.ts:28
↓ 9 callers
Method
executePerformable
(actionState: ActionState, layerId: string, performable: Performable)
src/composition/manager/layer/LayerManager.tsx:272
↓ 9 callers
Function
flowSelectionFromState
( graphId: string, flowState: FlowSelectionState, )
src/flow/flowUtils.ts:140
↓ 9 callers
Function
getPixiLayerMatrix
( map: LayerPropertyMap, getPropertyValue: (propertyId: string) => any, options: { applyAnchor: boolean } =
src/render/pixi/pixiLayerTransform.ts:13
↓ 9 callers
Function
getShapeLayerSelectedPathIds
( layerId: string, compositionState: CompositionState, compositionSelectionState: CompositionSelectionState
src/shape/shapeUtils.ts:475
↓ 9 callers
Function
graphEditorGlobalToNormal
( value: number, options: { viewBounds: [number, number]; viewport: Rect; compositionLength: number;
src/timeline/timelineUtils.ts:221
↓ 9 callers
Function
performOperation
( params: RequestActionParams, fn: (op: Operation) => void, )
src/state/operation.ts:36
↓ 9 callers
Method
scaleX
(scalar: number)
src/util/math/mat.ts:46
↓ 9 callers
Function
toHistoryBasedState
( state: S, type: "selection" | "normal" = "normal", )
src/state/createApplicationStateFromActionState.ts:11
↓ 8 callers
Method
copy
()
src/util/math/vec2.ts:157
↓ 8 callers
Function
flowEditorGlobalToNormal
( globalPosition: Vec2, viewport: Rect, scale: number, pan: Vec2, )
src/flow/flowUtils.ts:36
↓ 8 callers
Function
fn
(params)
src/util/action/mouseDownMoveAction.ts:80
↓ 8 callers
Function
getShapeLayerPathIds
( layerId: string, compositionState: CompositionState, )
src/shape/shapeUtils.ts:271
↓ 8 callers
Function
getShapeSelectionFromState
( shapeId: string, shapeSelectionState: ShapeSelectionState, )
src/shape/shapeUtils.ts:30
↓ 8 callers
Function
hslToRGB
([h, s, l]: HSLColor)
src/util/color/convertColor.ts:76
↓ 8 callers
Function
mulvec2
(vec: Vec2, scalar: number)
src/util/math/intersection/intersectBezier3Line.ts:5
↓ 8 callers
Method
new
(vecOrX: number | IVec2, y?: number)
src/util/math/vec2.ts:23
↓ 8 callers
Method
rotate
(rad: number)
src/util/math/mat.ts:73
↓ 8 callers
Function
y
(a)
static/js/clipper.js:117
↓ 7 callers
Function
add
(propertyId: string, performable: Performable)
src/composition/property/propertyInfoMap.ts:70
↓ 7 callers
Function
atIndex
(propertyId: string, i: number)
src/composition/arrayModifier.ts:218
↓ 7 callers
Function
createGraphEditorNormalToViewportX
(options: { compositionLength: number; viewBounds: [number, number]; width: number; })
src/graphEditor/renderGraphEditor.ts:32
↓ 7 callers
Function
createPropertyManager
( compositionId: string, actionState: ActionState, )
src/composition/manager/property/propertyManager.ts:46
↓ 7 callers
Function
getBasicShapeProperties
(ctx: ParseSvgContext, node: ElementNode)
src/svg/parse/svgNodeFactory.ts:19
↓ 7 callers
Function
getExpressionIO
(expression: string)
src/util/math/expressions.ts:120
↓ 7 callers
Function
getTimelineValueAtIndex
(options: GetTimelineValueAtIndexOptions)
src/timeline/timelineUtils.ts:110
↓ 7 callers
Function
getValue
(propertyId: string, i: number)
src/composition/arrayModifier.ts:159
↓ 7 callers
Function
getY
()
src/trackEditor/renderTrackEditor.ts:61
↓ 7 callers
Function
isMapShallowEqual
( a: M, b: M, )
src/util/mapUtils.ts:114
↓ 7 callers
Method
lerp
* Linear interpolation * * A `t` value of `0` is this vector, 1 is `vec`
src/util/math/vec2.ts:166
↓ 7 callers
Method
multiplyMat2
(mat2: Mat2)
src/util/math/mat.ts:109
↓ 7 callers
Method
propertyHasIndexValues
(propertyId: string)
src/composition/manager/property/propertyStore.ts:36
↓ 7 callers
Method
subXY
(x: number, y: number)
src/util/math/vec2.ts:107
↓ 7 callers
Function
traceLine
( ctx: CanvasRenderingContext2D, line: Line, traceOptions: TraceOptions = {}, )
src/util/canvas/renderPrimitives.ts:123
↓ 7 callers
Function
useNumberInputAction
(options: Options)
src/hook/useNumberInputAction.ts:9
↓ 6 callers
Function
addGraphic
(graphic: PIXI.Container, zIndex: number)
src/composition/interaction/preview.ts:15
↓ 6 callers
Method
addY
(y: number)
src/util/math/vec2.ts:86
↓ 6 callers
Function
applyTimelineIndexAndValueShifts
( _timeline: Timeline, selection: TimelineSelection | undefined, )
src/timeline/timelineUtils.ts:455
↓ 6 callers
Function
didCompSelectionChange
(compositionId)
src/composition/util/compSelectionUtils.ts:21
↓ 6 callers
Function
forEachSubProperty
( _propertyId: string, compositionState: CompositionState, fn: (property: Property) => void, )
src/composition/compositionUtils.ts:155
↓ 6 callers
Function
getAngleRadians
(from: Vec2, to: Vec2)
src/util/math.ts:141
↓ 6 callers
Function
getTimelineSelection
(timelineId: string)
src/timeline/timelineUtils.ts:535
↓ 6 callers
Function
getTimelineTrackYPositions
( compositionId: string, compositionState: CompositionState, panY: number, )
src/trackEditor/trackEditorUtils.ts:11
↓ 6 callers
Function
getYUpperLower
(viewport: Rect, mousePositionGlobal: Vec2)
src/graphEditor/graphEditorHandlers.ts:15
↓ 6 callers
Function
joinAreas
( row: AreaRowLayout, areaIndex: number, join: -1 | 1, )
src/area/util/joinArea.ts:3
↓ 6 callers
Function
lerp
(a: Vec2, b: Vec2, t: number)
src/util/math/intersection/intersectBezier3Line.ts:9
next →
1–100 of 1,040, ranked by callers