1.0.0 • Published 2 years ago

christmas-tree-simulator v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

sebimoe/christmas-tree-simulator

Supporting library for sebimoe/christmas-tree-simulator-app.

See Matt Parker's video for background information.

Exports

ExportDescription
CoordinateDecoders.​LineDelimitedJsonArray​CoordinateDecoderDecodes coordinate file containing line-delimited 3-element json arrays of X, Y, Z coordinates.
CoordinateDecoders.​JsonArray​CoordinateDecoderDecodes coordinate file containing a JSON string representing an array containing nested 3-element arrays consisting of X, Y, Z coordinates.
CoordinateDecoders.​Csv​CoordinateDecoderDecodes coordinate file containing X, Y, Z coordinates in the first 3 columns (by default).
CsvAnimationDecoderDecodes CSV file containing columns named R_0, G_0, B_0, R_1, G_1, and so on. Names are taken from heading row. Allows for easy mapping of frames into desired format by using custom mapping fuctions (see constructor).
CoordinateMappingHelper class for accessing vertex coordinate mapping.
ChristmasTreeSimulatorMain simulator class, acting as a playback controller.