A Julia package for managing animations based on frame data.
This project started as an exploration into Julia syntax and language design. In particular the multiple dispatch paradigm is extensively used to create methods which operate on different types- such as the Animation and AnimationCollection types introduced by this package. Additionally, this package uses interfaces to integrate with the Julia syntax by defining methods such as setindex! and getindex. Animation and AnimationCollection are also generic structs which allow integration for any type of data.
Animationstruct storing a vector ofFramestructs which can contain any type of data via generics.setindex!,getindex(), andlength()defined forAnimationandAnimationCollectionstructs.- Randomization and caching for frames which have multiple items of data. (
Frames.datacan beVector{T}orTviaUnion{}'s.) AnimationCollectionstruct which stores multipleAnimationstructs and allows for easy switching between them. TheAnimation's can be indexed via aUgeneric type.
A Playground Project showcasing the usage of this package will be available soon.
This package is not published to the Julia General Registry. You must install this package via the git url and set the correct subdir:
using Pkg
Pkg.add(url="https://github.com/The-Nice-One/PlaygroundProjects", subdir="Libraries/SimpleFrameAnimation")
As with all other projects in this playground, the license is CC BY-NC.