From 821ddad7c800f18f6ec962a18a88ff0bf58825aa Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Sat, 28 Sep 2019 17:38:09 +0200 Subject: new: hyperowo, moved animation offsets into function for reusability --- shakeoffsets.sh | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 shakeoffsets.sh (limited to 'shakeoffsets.sh') diff --git a/shakeoffsets.sh b/shakeoffsets.sh new file mode 100644 index 0000000..baf820c --- /dev/null +++ b/shakeoffsets.sh @@ -0,0 +1,80 @@ +#!/bin/sh + +function getShakeOffsets { + local -n arr=$1 + arr=(15:5:143:133 + 10:-5:138:123 + 20:-2:148:126 + 10:-5:138:123 + 18:5:146:133 + 15:-5:143:123 + 10:0:138:128 + 12:0:140:128 + 10:-1:138:127 + 9:0:137:128 + 10:1:138:129 + 17:-2:145:126 + 14:-6:142:122 + 10:0:138:128 + 22:-5:150:123 + 15:-2:143:126 + 14:3:142:131 + 13:-6:141:122 + 5:-6:133:122 + 3:-8:131:120 + 15:-8:143:120 + 20:-7:148:121 + 17:-9:145:119 + 16:5:144:133 + 13:-5:141:123 + 15:-4:143:124 + 16:10:144:138 + 11:5:139:133 + 12:2:140:130 + 10:5:138:133 + 10:0:138:128 + 13:3:141:131 + 17:-1:145:127 + 18:-1:146:127 + 14:1:142:129 + 5:1:133:129 + 7:-4:135:124 + 17:-1:145:127 + 19:5:147:133 + 15:-3:143:125 + 15:-3:143:125 + 14:-4:142:124 + 16:-5:144:123 + 16:10:144:138 + 10:5:138:133 + 5:6:133:134 + 5:10:133:138 + 5:0:133:128 + 8:5:136:133 + 3:7:131:135 + 5:-5:133:123 + 8:0:136:128 + 6:4:134:132 + 6:-6:134:122 + 5:-8:133:120 + 10:5:138:133 + 6:3:134:131 + 2:1:130:129 + 8:5:136:133 + 2:2:130:130 + -2:2:126:130 + 0:0:128:128 + 10:-5:138:123 + 5:0:133:128 + 4:0:132:128 + 6:2:134:130 + 4:0:132:128 + 10:0:138:128 + 20:-5:148:123 + 16:-3:144:125 + 8:-1:136:127 + 9:2:137:130 + 16:-3:144:125 + 15:-5:143:123 + 5:-7:133:121) +} -- cgit v1.2.3-54-g00ecf