summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/fib.sh
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
committerepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
commit6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch)
tree11301c4e20d9a1448337e73b62a16ab1bfeba457 /share/hackvr/examples/fib.sh
parent49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff)
downloadhackvr-6492ba6b4107a4da228e18db4fc5fc871bfb0579.tar.gz
hackvr-6492ba6b4107a4da228e18db4fc5fc871bfb0579.zip
updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bashHEADmaster
Diffstat (limited to 'share/hackvr/examples/fib.sh')
-rwxr-xr-xshare/hackvr/examples/fib.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/share/hackvr/examples/fib.sh b/share/hackvr/examples/fib.sh
deleted file mode 100755
index c1d87ab..0000000
--- a/share/hackvr/examples/fib.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-z=0
-a=1
-b=1
-
-for i in $(seq 1 10);do
- if [ $[$i % 2] = 0 ];then
- x=$[$z]
- y=0
- else
- x=0
- y=$[$z]
- fi
-
- w=$a
- h=$a
-
- echo fib_$a addshape 2 4 $x $y 0 $[$x+$w] $y 0 $[$x+$w] $[$y+$h] 0 $x $[$y+$h] 0
- z=$a
- s=$[$a+$b]
- a=$b
- b=$s
-
-done