Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/animation.ts

A framework for Beat Saber map scripting.
Go to Latest
import * as remapper from "https://deno.land/x/remapper@3.0.0/src/animation.ts";

Namespaces

Contains subclasses for animation related classes.

Classes

Animation that can apply to any object.

Bare minimum animation class.

Animation specifically for environment objects.

Animation specifically for note objects.

Animation specifically for wall objects.

Variables

Checks if value is an array of keyframes.

Functions

Generate keyframes from an animation. Useful for doing things such as having objects rotate around points other than their anchor.

Allows you to combine two animations together. Atleast one of them must have only a single keyframe.

Ensures that this value is in the format of an array of keyframes. For example if you input [x,y,z], it would be converted to [[x,y,z,0]].

Get the value of keyframes at a given time.

If possible, isolate an array of keyframes with one keyframe. For example if you input [[x,y,z,0]], it would be converted to [x,y,z].

Type Aliases

Helper type for complex keyframes.

Helper type for keyframe arrays.

Helper type for raw keyframes.

Keyframe or array of keyframes with 4 values. Allows "hsvLerp". [[r,g,b,a,time]...] or [r,g,b,a]

Array of keyframes with 1 value. [[x, time]...]

Keyframe or array of keyframes with 3 values. [[x,y,z,time]...] or [x,y,z]

Keyframe or array of keyframes with 4 values. [[x,y,z,w,time]...] or [x,y,z,w]

Easings and splines.

Array of keyframes which have any amount of values.

Any flag that could be in a keyframe. E.g. easings, splines

Keyframe or array of keyframes with any amount of values. Allows point definitions.

Keyframe or array of keyframes with 4 values. Allows "hsvLerp" and point definitions. [[r,g,b,a,time]...] or [r,g,b,a]

Keyframe or array of keyframes with 1 value. [[x, time]...] or [x]

Keyframe or array of keyframes with 3 values. Allows point definitions. [[x,y,z,time]...] or [x,y,z]

Keyframe or array of keyframes with 4 values. Allows point definitions. [[x,y,z,w,time]...] or [x,y,z,w]

Keyframe which is in an array with other keyframes, has any amount of values.

Keyframe or array of keyframes with any amount of values.

Array of keyframes with 4 values. [[r,g,b,a,time]...]

Array of keyframes with 3 values. [[x,y,z,time]...]

Array of keyframes with 4 values. [[x,y,z,w,time]...]

Keyframe which isn't in an array with other keyframes, has any amount of values.

Time value in a keyframe.

A track or multiple tracks.