diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-05-17 13:43:08 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-05-17 15:05:49 -0400 |
commit | 914c9ebd7c401edc3e56bd5834e4a6c16ab3cda6 (patch) | |
tree | 5144d26a200f8b7874a3622013c84ed550475d9a /Makefile | |
parent | 1687c00b1642d1e2fe3fbfe4eedf93123e1d6804 (diff) | |
download | kd-forest-914c9ebd7c401edc3e56bd5834e4a6c16ab3cda6.tar.xz |
Add an option to generate an animation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -23,7 +23,17 @@ kd-forest.png: kd-forest image: kd-forest.png +kd-forest.mkv: kd-forest + $(RM) kd-forest.mkv + $(RM) -r frames + mkdir -p frames + ./kd-forest -b 20 -s -c Lab -a -o frames + ffmpeg -r 60 -i frames/%04d.png -c:v libx264 -preset veryslow -qp 0 kd-forest.mkv + +anim: kd-forest.mkv + clean: $(RM) kd-forest + $(RM) -r frames -.PHONY: image clean +.PHONY: image anim clean |