From 69574783196ba1af7f7c428ae8132d7379277c20 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Sun, 31 Oct 2021 23:55:32 +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..b4e7414 --- /dev/null +++ b/make_petals.sh @@ -0,0 +1,56 @@ +#!/bin/sh + +IN_ROW=15 + +DELAY_BETWEEN=0.2 +DEG_BETWEEN=24 + +SUBUNITS="4.9 3.5 2.5 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 ]; then + bc >_inner_row_delay <_flower_delay <