Skip to content

tsoding/multik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tsoding

multik

Animation Framework

MULTIK DEMO

Dependencies

Note that the only supported OS at the moment is Linux. Track #49 for Windows support.

NixOS

For NixOS we have a development environment defined in default.nix with all of the required dependencies. You can enter the environment with nix-shell command:

$ nix-shell

Ubuntu

$ sudo apt-get install gcc ocaml libsdl2-dev libcairo2-dev

Quick Start

$ nix-shell        # For NixOS
$ make
$ ./multik preview samples/arkanoid.cmo
$ ./multik render samples/arkanoid.cmo arkanoid.mp4

Profiling

$ make multik.prof
$ ./multik.prof preview <literally any file>  # you can provide any file, it will be ignored
                                              # because the animation is baked into the executable
$ gprof ./multik.prof

Support

You can support my work via