From 69574783196ba1af7f7c428ae8132d7379277c20 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Sun, 31 Oct 2021 23:55:32 +0100 Subject: [PATCH] initial commit --- Makefile | 24 ++ chryzantem.html | 625 +++++++++++++++++++++++++++++++++++++++++++++++ chryzantem.html.template | 241 ++++++++++++++++++ eyes.svg | 145 +++++++++++ make_center.sh | 10 + make_face.sh | 21 ++ make_petals.sh | 56 +++++ make_stem.sh | 16 ++ make_text.sh | 15 ++ petal.svg | 36 +++ smile.svg | 43 ++++ wesolych.svg | 89 +++++++ wszystkich.svg | 109 +++++++++ 13 files changed, 1430 insertions(+) create mode 100644 Makefile create mode 100644 chryzantem.html create mode 100644 chryzantem.html.template create mode 100644 eyes.svg create mode 100755 make_center.sh create mode 100755 make_face.sh create mode 100755 make_petals.sh create mode 100755 make_stem.sh create mode 100755 make_text.sh create mode 100644 petal.svg create mode 100644 smile.svg create mode 100644 wesolych.svg create mode 100644 wszystkich.svg diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e9efaee --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +%.html: %.html.template + awk '{line = $$0; if (match($$0, //, ary) != 0) system("cat " ary[1]); else print line}' $< > $@ + +chryzantem.html: petals.html center.html face.html stem.html text.html + +_inner_row_delay _flower_delay petals.html: make_petals.sh + ./make_petals.sh > petals.html + +center.html: make_center.sh _inner_row_delay + ./make_center.sh > center.html + +_face_delay face.html: make_face.sh _flower_delay + ./make_face.sh > face.html + +_stem_delay stem.html: make_stem.sh _face_delay + ./make_stem.sh > stem.html + +text.html: make_text.sh _stem_delay + ./make_text.sh > text.html + +clean: + rm -rf *_delay petals.html center.html face.html stem.html text.html chryzantem.html + +.PHONY: clean diff --git a/chryzantem.html b/chryzantem.html new file mode 100644 index 0000000..c9011c3 --- /dev/null +++ b/chryzantem.html @@ -0,0 +1,625 @@ + + + + + + + +
+
+
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+
+ flower petal +
+
+
+ flower smile +
+
+ flower eyes +
+
+
+ "Wesołych Świąt" text +
+
+ "Wszystkich Świętych" text +
+
+ + diff --git a/chryzantem.html.template b/chryzantem.html.template new file mode 100644 index 0000000..853f902 --- /dev/null +++ b/chryzantem.html.template @@ -0,0 +1,241 @@ + + + + + + + +
+ +
+ + + +
+ +
+ + diff --git a/eyes.svg b/eyes.svg new file mode 100644 index 0000000..3491ea1 --- /dev/null +++ b/eyes.svg @@ -0,0 +1,145 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/make_center.sh b/make_center.sh new file mode 100755 index 0000000..d76ada4 --- /dev/null +++ b/make_center.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +ANIMATION_DELAY=$(bc < +EOF diff --git a/make_face.sh b/make_face.sh new file mode 100755 index 0000000..376cbec --- /dev/null +++ b/make_face.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +ANIMATION_DELAY=$(bc < + flower smile + +
+ flower eyes +
+EOF + +FACE_APPEAR_DURATION=0.3 # must match animation-duration in chryzantem.html.template + +bc >_face_delay < +
+ 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 < +EOF + +STEM_APPEAR_DURATION=0.6 # must match animation-duration in chryzantem.html.template + +bc >_stem_delay < + "Wesołych Świąt" text + +
+ "Wszystkich Świętych" text +
+EOF diff --git a/petal.svg b/petal.svg new file mode 100644 index 0000000..97e6b09 --- /dev/null +++ b/petal.svg @@ -0,0 +1,36 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/smile.svg b/smile.svg new file mode 100644 index 0000000..10a6892 --- /dev/null +++ b/smile.svg @@ -0,0 +1,43 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/wesolych.svg b/wesolych.svg new file mode 100644 index 0000000..b18c9b4 --- /dev/null +++ b/wesolych.svg @@ -0,0 +1,89 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wszystkich.svg b/wszystkich.svg new file mode 100644 index 0000000..4680fc7 --- /dev/null +++ b/wszystkich.svg @@ -0,0 +1,109 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.11.4.GIT