animation/field.sh

22 lines
360 B
Bash

#!/bin/bash
###########################
#
# Draws a field guide to test pen position
# or begin a sequence.
#
###########################
name=test
if [[ "${1}" != "" ]]; then
name="${1}"
fi
bash position.sh set
ax guides/guide_all.svg
number=`mktemp`.svg
node ./numbers/ -n "${name}" -o "${number}"
ax "${number}"
rm -f "${number}"
bash position.sh reset