Skip to content

lucillablessing/binary-animations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binary-animations

a repository for source code of the program used to make animations for the video essay the best way to count and its OST music video.

File format

binary animations loads animation files; those are just zip files with any name which have a lua file with the same name (apart from the extension changing from .zip to .lua) within their root directory. for example, a zip file named binary.zip containing within its root directory a file named binary.lua is a valid animation file. any other files within the zip are assets, and are free to be organized in whatever way.

this lua file will be require'd upon loading the program, and should return a lua table with the following keys:

  • init: a function called when the program is first loaded;
  • start: a function called when you press space while the animation is not active;
  • advance: a function called when you press space while the animation is active (optional);
  • update: a function called every frame while the animation is active (conventionally, this function also calls another function called stop when the animation should finish, but no such key is mandatory);
  • draw: a function called every frame to draw things to the screen;
  • done: a function called when you press escape while the animation is active. pressing escape a second time will quit the program.

Links

Credits

binary animations was made in LÖVE 11. follow this page to build it directly from its source code.

the source code of binary animations is released under the Unlicense.

About

animations for the video essay "the best way to count"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages