diff options
author | Andinus <andinus@nand.sh> | 2022-01-12 12:46:24 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-01-12 12:46:24 +0530 |
commit | 76b0f392519912c0e7835e5cf75190ea5d650e77 (patch) | |
tree | 352bd1215472c203069fafa5e1accb0c4ac12025 /lib/Octans | |
parent | 25f65f212c210638d15d73c0c8dfe1fc08bd96a2 (diff) | |
download | octans-76b0f392519912c0e7835e5cf75190ea5d650e77.tar.gz |
Print video solution path
Diffstat (limited to 'lib/Octans')
-rw-r--r-- | lib/Octans/CLI.rakumod | 1 | ||||
-rw-r--r-- | lib/Octans/GenerateFrame.rakumod | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Octans/CLI.rakumod b/lib/Octans/CLI.rakumod index 4d94b69..d090eb3 100644 --- a/lib/Octans/CLI.rakumod +++ b/lib/Octans/CLI.rakumod @@ -92,6 +92,7 @@ multi sub MAIN( run «ffmpeg -loglevel "$log-level" -r 1.5 -i "$output/\%08d.png" -vf 'tpad=stop_mode=clone:stop_duration=1' -vcodec libx264 -crf 24 -pix_fmt yuv420p "$output/solution.mp4"»; + put "Video Solution: $output/solution.mp4"; } } diff --git a/lib/Octans/GenerateFrame.rakumod b/lib/Octans/GenerateFrame.rakumod index ba7fc5b..9fe5754 100644 --- a/lib/Octans/GenerateFrame.rakumod +++ b/lib/Octans/GenerateFrame.rakumod @@ -20,8 +20,6 @@ constant %C = ( fg-special-calm => "#61284f", ).map: {.key => hex2rgb(.value)}; -enum IterStatus <Walking Blocked Completed>; - sub generate-frame( :%canvas, :$out, :$side, :@puzzle, :@visited, :%meta, :$found ) is export { |