add convenience script
This commit is contained in:
parent
920f4b568b
commit
040f994d6f
12
maketiling.sh
Executable file
12
maketiling.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
filename="output/tiling_$1$2$3"
|
||||||
|
for i in $(seq 5 $#); do filename+="_${!i}"; done
|
||||||
|
filename_svg="${filename}.svg"
|
||||||
|
filename_pdf="${filename}.pdf"
|
||||||
|
|
||||||
|
if [ $# -lt 4 ]; then
|
||||||
|
./hyperbolic
|
||||||
|
else
|
||||||
|
./hyperbolic $* > "$filename_svg" && rsvg-convert --format=pdf "$filename_svg" > "$filename_pdf"
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user