MCPcopy Create free account

hub / github.com/alexharri/animation-editor / functions

Functions1,040 in github.com/alexharri/animation-editor

↓ 277 callersMethodnew
(matrix: Matrix2x2)
src/util/math/mat.ts:10
↓ 241 callersMethodadd
(vec: IVec2)
src/util/math/vec2.ts:73
↓ 142 callersFunctiongetActionState
()
src/state/stateUtils.ts:72
↓ 62 callersFunctionrequestAction
( options: RequestActionOptions, callback: RequestActionCallback, )
src/listener/requestAction.ts:250
↓ 57 callersMethodscale
(scalar: number)
src/util/math/mat.ts:37
↓ 55 callersFunctionisKeyDown
(key: Key)
src/listener/keyboard.ts:19
↓ 52 callersFunctioncompileStylesheetLabelled
( stylesheet: T, )
src/util/stylesheets.tsx:35
↓ 52 callersFunctionseparateLeftRightMouse
({ left, middle, right, }: { left?: ListenerFn; middle?: ListenerFn; right?: ListenerFn; })
src/util/mouse.ts:15
↓ 51 callersMethodfromEvent
(e: MouseEvent)
src/util/math/vec2.ts:35
↓ 51 callersMethodsub
(vec: Vec2)
src/util/math/vec2.ts:90
↓ 44 callersFunctionconnectActionState
( mapStateToProps: MapActionState<TStateProps, TOwnProps>, )
src/state/stateUtils.ts:58
↓ 37 callersFunctioncompSelectionFromState
( compositionId: string, compositionSelectionState: CompositionSelectionState, )
src/composition/util/compSelectionUtils.ts:9
↓ 35 callersFunctionq
()
static/js/clipper.js:78
↓ 35 callersFunctionremoveKeysFromMap
(obj: T, keys: string[])
src/util/mapUtils.ts:1
↓ 34 callersMethodapply
(fn: (vec: Vec2) => IVec2)
src/util/math/vec2.ts:175
↓ 33 callersFunctioncreateOperation
(params: RequestActionParams)
src/state/operation.ts:6
↓ 33 callersFunctionresolve
(res: any)
src/flow/graphNodeOutputs.ts:147
↓ 32 callersFunctionmodifyItemsInMap
( map: M, keys: string | string[], fn: (item: M[keyof M]) => M[keyof M], )
src/util/mapUtils.ts:25
↓ 28 callersFunctionfn
(params)
src/timeline/timelineHandlers.ts:70
↓ 27 callersFunctionmouseDownMoveAction
( eOrInitialPos: React.MouseEvent | MouseEvent | Vec2, options: Options<K, KeyMap>, )
src/util/action/mouseDownMoveAction.ts:49
↓ 25 callersFunctiongetProperty
( ctx: ParseSvgContext, node: ElementNode, name: string, )
src/svg/parse/svgAttributes.ts:23
↓ 24 callersFunctiongetAreaActionState
(areaId: string)
src/state/stateUtils.ts:81
↓ 24 callersFunctioninterpolate
(a: number, b: number, t: number)
src/util/math.ts:4
↓ 23 callersFunctioncreateGenMapIdFn
(map: M)
src/util/mapUtils.ts:147
↓ 23 callersMethodgetPropertyValue
(propertyId: string)
src/composition/manager/property/propertyStore.ts:21
↓ 23 callersFunctionmergeItemInMap
( map: M, keys: string | string[], fn: (item: M[keyof M]) => Partial<M[keyof M]>, )
src/util/mapUtils.ts:44
↓ 22 callersFunctiongetDistance
(a: Vec2, b: Vec2)
src/util/math.ts:15
↓ 21 callersFunctioncapToRange
(low: number, high: number, value: number)
src/util/math.ts:12
↓ 21 callersFunctionisVecInRect
(vec: Vec2, rect: Rect)
src/util/math.ts:6
↓ 20 callersFunctionaddListToMap
( map: M, items: U[], idField: keyof T & keyof U, )
src/util/mapUtils.ts:10
↓ 20 callersFunctionrgbToBinary
(rgb: RGBColor)
src/util/color/convertColor.ts:16
↓ 19 callersFunctioncreateAddNodeOption
(options: AddNodeOptions)
src/flow/util/flowGraphContextMenu.ts:73
↓ 18 callersFunctioncreateMapNumberId
(map: M)
src/util/mapUtils.ts:139
↓ 18 callersFunctionreduceLayerPropertiesAndGroups
( layerId: string, compositionState: CompositionState, fn: (acc: T, property: Property | PropertyGroup) =>
src/composition/compositionUtils.ts:61
↓ 17 callersFunctionconstructLayerPropertyMap
( layerId: string, compositionState: CompositionState, )
src/composition/layer/layerPropertyMap.ts:146
↓ 17 callersMethodround
()
src/util/math/vec2.ts:171
↓ 15 callersFunctionisKeyCodeOf
(key: Key, keyCode: number)
src/listener/keyboard.ts:62
↓ 14 callersFunctionuseKeyDownEffect
(key: Key, callback: (isKeyDown: boolean) => void)
src/hook/useKeyDown.ts:11
↓ 13 callersFunctiondispatch
(action, ...args)
src/listener/requestAction.ts:101
↓ 13 callersFunctionexceedsDirectionVector
( directionVec: DirectionVector, distance: number, vec: Vec2, )
src/util/math/exceedsDirectionVector.ts:11
↓ 13 callersFunctiongetTimelineIdsReferencedByComposition
( compositionId: string, compositionState: CompositionState, )
src/composition/compositionUtils.ts:336
↓ 13 callersFunctionmodifyItemsInUnionMap
( map: M, keys: string | string[], fn: (item: U) => U, )
src/util/mapUtils.ts:63
↓ 12 callersFunctiongetActionStateFromApplicationState
( _state: ApplicationState, index?: number, )
src/state/stateUtils.ts:30
↓ 12 callersFunctiongetAreaViewport
(areaId: string, _: AreaType)
src/area/util/getAreaViewport.ts:19
↓ 11 callersFunctionhexToRGBAString
(hex: string, alpha = 1)
src/util/color/convertColor.ts:30
↓ 11 callersFunctionisSamePoint
([xa, ya], [xb, yb])
src/util/math/svgPath.js:15
↓ 11 callersFunctionnormalToViewport
(vec2: Vec2)
src/composition/interaction/preview.ts:20
↓ 11 callersFunctionrenderRect
( ctx: CanvasRenderingContext2D, rects: Rect | Rect[], opts: RenderRectOptions, )
src/util/canvas/renderPrimitives.ts:50
↓ 11 callersFunctionresolveVec2
(data: IVec2)
src/util/math/vec2.ts:8
↓ 11 callersMethodsubX
(x: number)
src/util/math/vec2.ts:99
↓ 10 callersMethodaddLayer
(actionState: ActionState, layerId: string)
src/composition/manager/layer/LayerManager.tsx:85
↓ 10 callersFunctiongetControlPointAsVector
( whichControlPoint: "cp0" | "cp1", k0: TimelineKeyframe, k1: TimelineKeyframe, )
src/timeline/timelineUtils.ts:51
↓ 10 callersFunctionreduceCompProperties
( compositionId: string, compositionState: CompositionState, fn: (acc: T, property: Property) => T, initia
src/composition/compositionUtils.ts:232
↓ 9 callersFunctioncreateNumberGetter
(name: string)
src/svg/parse/svgAttributes.ts:33
↓ 9 callersFunctioncreateReducerWithHistory
( initialState: S, reducer: (state: S, action: any) => S, options: Options = {}, )
src/state/history/historyReducer.ts:28
↓ 9 callersMethodexecutePerformable
(actionState: ActionState, layerId: string, performable: Performable)
src/composition/manager/layer/LayerManager.tsx:272
↓ 9 callersFunctionflowSelectionFromState
( graphId: string, flowState: FlowSelectionState, )
src/flow/flowUtils.ts:140
↓ 9 callersFunctiongetPixiLayerMatrix
( map: LayerPropertyMap, getPropertyValue: (propertyId: string) => any, options: { applyAnchor: boolean } =
src/render/pixi/pixiLayerTransform.ts:13
↓ 9 callersFunctiongetShapeLayerSelectedPathIds
( layerId: string, compositionState: CompositionState, compositionSelectionState: CompositionSelectionState
src/shape/shapeUtils.ts:475
↓ 9 callersFunctiongraphEditorGlobalToNormal
( value: number, options: { viewBounds: [number, number]; viewport: Rect; compositionLength: number;
src/timeline/timelineUtils.ts:221
↓ 9 callersFunctionperformOperation
( params: RequestActionParams, fn: (op: Operation) => void, )
src/state/operation.ts:36
↓ 9 callersMethodscaleX
(scalar: number)
src/util/math/mat.ts:46
↓ 9 callersFunctiontoHistoryBasedState
( state: S, type: "selection" | "normal" = "normal", )
src/state/createApplicationStateFromActionState.ts:11
↓ 8 callersMethodcopy
()
src/util/math/vec2.ts:157
↓ 8 callersFunctionflowEditorGlobalToNormal
( globalPosition: Vec2, viewport: Rect, scale: number, pan: Vec2, )
src/flow/flowUtils.ts:36
↓ 8 callersFunctionfn
(params)
src/util/action/mouseDownMoveAction.ts:80
↓ 8 callersFunctiongetShapeLayerPathIds
( layerId: string, compositionState: CompositionState, )
src/shape/shapeUtils.ts:271
↓ 8 callersFunctiongetShapeSelectionFromState
( shapeId: string, shapeSelectionState: ShapeSelectionState, )
src/shape/shapeUtils.ts:30
↓ 8 callersFunctionhslToRGB
([h, s, l]: HSLColor)
src/util/color/convertColor.ts:76
↓ 8 callersFunctionmulvec2
(vec: Vec2, scalar: number)
src/util/math/intersection/intersectBezier3Line.ts:5
↓ 8 callersMethodnew
(vecOrX: number | IVec2, y?: number)
src/util/math/vec2.ts:23
↓ 8 callersMethodrotate
(rad: number)
src/util/math/mat.ts:73
↓ 8 callersFunctiony
(a)
static/js/clipper.js:117
↓ 7 callersFunctionadd
(propertyId: string, performable: Performable)
src/composition/property/propertyInfoMap.ts:70
↓ 7 callersFunctionatIndex
(propertyId: string, i: number)
src/composition/arrayModifier.ts:218
↓ 7 callersFunctioncreateGraphEditorNormalToViewportX
(options: { compositionLength: number; viewBounds: [number, number]; width: number; })
src/graphEditor/renderGraphEditor.ts:32
↓ 7 callersFunctioncreatePropertyManager
( compositionId: string, actionState: ActionState, )
src/composition/manager/property/propertyManager.ts:46
↓ 7 callersFunctiongetBasicShapeProperties
(ctx: ParseSvgContext, node: ElementNode)
src/svg/parse/svgNodeFactory.ts:19
↓ 7 callersFunctiongetExpressionIO
(expression: string)
src/util/math/expressions.ts:120
↓ 7 callersFunctiongetTimelineValueAtIndex
(options: GetTimelineValueAtIndexOptions)
src/timeline/timelineUtils.ts:110
↓ 7 callersFunctiongetValue
(propertyId: string, i: number)
src/composition/arrayModifier.ts:159
↓ 7 callersFunctiongetY
()
src/trackEditor/renderTrackEditor.ts:61
↓ 7 callersFunctionisMapShallowEqual
( a: M, b: M, )
src/util/mapUtils.ts:114
↓ 7 callersMethodlerp
* Linear interpolation * * A `t` value of `0` is this vector, 1 is `vec`
src/util/math/vec2.ts:166
↓ 7 callersMethodmultiplyMat2
(mat2: Mat2)
src/util/math/mat.ts:109
↓ 7 callersMethodpropertyHasIndexValues
(propertyId: string)
src/composition/manager/property/propertyStore.ts:36
↓ 7 callersMethodsubXY
(x: number, y: number)
src/util/math/vec2.ts:107
↓ 7 callersFunctiontraceLine
( ctx: CanvasRenderingContext2D, line: Line, traceOptions: TraceOptions = {}, )
src/util/canvas/renderPrimitives.ts:123
↓ 7 callersFunctionuseNumberInputAction
(options: Options)
src/hook/useNumberInputAction.ts:9
↓ 6 callersFunctionaddGraphic
(graphic: PIXI.Container, zIndex: number)
src/composition/interaction/preview.ts:15
↓ 6 callersMethodaddY
(y: number)
src/util/math/vec2.ts:86
↓ 6 callersFunctionapplyTimelineIndexAndValueShifts
( _timeline: Timeline, selection: TimelineSelection | undefined, )
src/timeline/timelineUtils.ts:455
↓ 6 callersFunctiondidCompSelectionChange
(compositionId)
src/composition/util/compSelectionUtils.ts:21
↓ 6 callersFunctionforEachSubProperty
( _propertyId: string, compositionState: CompositionState, fn: (property: Property) => void, )
src/composition/compositionUtils.ts:155
↓ 6 callersFunctiongetAngleRadians
(from: Vec2, to: Vec2)
src/util/math.ts:141
↓ 6 callersFunctiongetTimelineSelection
(timelineId: string)
src/timeline/timelineUtils.ts:535
↓ 6 callersFunctiongetTimelineTrackYPositions
( compositionId: string, compositionState: CompositionState, panY: number, )
src/trackEditor/trackEditorUtils.ts:11
↓ 6 callersFunctiongetYUpperLower
(viewport: Rect, mousePositionGlobal: Vec2)
src/graphEditor/graphEditorHandlers.ts:15
↓ 6 callersFunctionjoinAreas
( row: AreaRowLayout, areaIndex: number, join: -1 | 1, )
src/area/util/joinArea.ts:3
↓ 6 callersFunctionlerp
(a: Vec2, b: Vec2, t: number)
src/util/math/intersection/intersectBezier3Line.ts:9
next →1–100 of 1,040, ranked by callers