animation/simulation.sh

9 lines
158 B
Bash

#!/bin/bash
pi=3.14159265358979323844
for (( frame=0; frame<124; frame++ ))
do
echo "frame: ${frame}"
echo "scale=6;s(${frame}.0/12.0)" | bc -l
done