add license info
[anon-chrysantemum.git] / make_stem.sh
blob8e758a95209d76c5b94f212fd3d7f1f0da51b8cf
1 #!/bin/sh
3 ANIMATION_DELAY=$(bc <<EOF
4 $(cat _face_delay) + 0.2
5 EOF
8 cat <<EOF
9 <div class="stem" style="animation-delay: ${ANIMATION_DELAY}s;"></div>
10 EOF
12 STEM_APPEAR_DURATION=0.6 # must match animation-duration in chryzantem.html.template
14 bc >_stem_delay <<EOF
15 $ANIMATION_DELAY + $STEM_APPEAR_DURATION
16 EOF