tRULE BRITANNIA! BRITANNIA RULES THE WAVE! - werner - cellular automata simulation of wind-driven sand transport
HTML git clone git://src.adamsgaard.dk/werner
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit d8d9301054b32997254a867b2bc9b99c9a70b6d6
DIR parent 9a4a9399c2588c8ae1b48437e608636dbfa653e4
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 19 Dec 2023 15:37:04 +0100
RULE BRITANNIA! BRITANNIA RULES THE WAVE!
Diffstat:
M Makefile | 7 ++++++-
A rule-britannia-audio.ogg | 0
2 files changed, 6 insertions(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -29,7 +29,12 @@ plots: matrixes
cd out && for f in *.txt; do gnuplot -e "matrixfile='$$f'" plotmatrix.gp; done
movie: plots
- ffmpeg -i out/matrix.%03d.txt.png -framerate 15 out.mkv
+ if [ -n "${BRITISH}" ]; \
+ then \
+ ffmpeg -i out/matrix.%03d.txt.png -i rule-britannia-audio.ogg -framerate 15 out.mkv; \
+ else \
+ ffmpeg -i out/matrix.%03d.txt.png -framerate 15 out.mkv; \
+ fi
@printf "Now you can watch out.mkv.\n"
view: plots
DIR diff --git a/rule-britannia-audio.ogg b/rule-britannia-audio.ogg
Binary files differ.