From 29a86d3d4ec8ee2241edb7384fe8613ff6382ac9 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sun, 21 Nov 2021 10:49:09 +0100 Subject: initial commit --- make_petals.sh | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100755 make_petals.sh (limited to 'make_petals.sh') diff --git a/make_petals.sh b/make_petals.sh new file mode 100755 index 0000000..14645b2 --- /dev/null +++ b/make_petals.sh @@ -0,0 +1,56 @@ +#!/bin/sh + +IN_ROW=15 + +DELAY_BETWEEN=0.3 +DEG_BETWEEN=24 + +SUBUNITS="5.3 3.2 1.5 1" +SUBUNITS_N=$(wc -w < +
+ flower petal +
+ +EOF +} + +I=0 +for SUBUNIT in $SUBUNITS; do + I=$((I + 1)) + + if [ $I -eq $((SUBUNITS_N - 1)) ]; then + bc >_inner_row_delay <_flower_delay <