Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class DefinedAnimation(val info: Animation.AnimationInfo, val animation: suspend (AnimationManager, RunningAnimationParams, <Error class: unknown class>) -> Unit) : Animation
An animation that is defined in the library and compiled into the jar
Link copied to clipboard
Link copied to clipboard
Tracks the final location, current location, and color of a 'pixel' being sorted
Functions
Link copied to clipboard
Link copied to clipboard
Shift a pixel in the sortablePixels list from the from index to the to index, showing the movement on the strip
Link copied to clipboard
Convert a list of SortablePixels to a PreparedColorContainer that can be used to set the strip color before the sorting begins
Link copied to clipboard
Convert a PreparedColorContainer into a shuffled list of SortablePixels
Link copied to clipboard
Sets the color of the pixel at index with the appropriate color in sortablePixels