Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/animation.ts

A framework for Beat Saber map scripting.
Latest
import * as remapper from "https://deno.land/x/remapper@3.1.2/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.

Get an animation with a reversed animation after.

Reverse an animation. Accounts for most easings but not splines.

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.

Array of keyframes which have any amount of values.

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

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

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

Easings and splines.

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

Helper type for keyframe arrays.

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

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.

Helper type for raw keyframes.

Keyframe or array of keyframes with any amount of values.

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

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]

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

Helper type for single keyframes.

Time value in a keyframe.

A track or multiple tracks.