animation/simulation.sh

9 lines
158 B
Bash
Raw Normal View History

2021-11-30 15:20:28 +00:00
#!/bin/bash
2021-12-02 06:04:23 +00:00
pi=3.14159265358979323844
2021-11-30 15:20:28 +00:00
2021-12-02 06:04:23 +00:00
for (( frame=0; frame<124; frame++ ))
2021-11-30 15:20:28 +00:00
do
echo "frame: ${frame}"
2021-12-02 06:04:23 +00:00
echo "scale=6;s(${frame}.0/12.0)" | bc -l
2021-11-30 15:20:28 +00:00
done