diff options
author | epoch <epoch@thebackupbox.net> | 2022-08-17 21:34:02 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2022-08-17 21:34:02 -0500 |
commit | 6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch) | |
tree | 11301c4e20d9a1448337e73b62a16ab1bfeba457 /share/hackvr/examples/clock/generate.py | |
parent | 49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff) | |
download | hackvr-master.tar.gz hackvr-master.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/clock/generate.py')
-rwxr-xr-x | share/hackvr/examples/clock/generate.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/share/hackvr/examples/clock/generate.py b/share/hackvr/examples/clock/generate.py deleted file mode 100755 index f3db105..0000000 --- a/share/hackvr/examples/clock/generate.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python3 -import math - -for i in range(1,13): - x=math.floor(math.sin(math.pi / 6 * i) * 1000) / 100 - y=math.floor(math.cos(math.pi / 6 * i) * 1000) / 100 - print("_clock_face_digit_{}_ addshape 2 4 {} {} 0 {} {} 0 {} {} 0 {} {} 0".format(i,x-1,y-1,x+1,y-1,x+1,y+1,x-1,y+1)) - print("_clock_face_hand_hour_ addshape 2 3 -1 -1 0 0 5 0 1 -1 0") - print("_clock_face_hand_minute_ addshape 2 3 -.75 -.75 0 0 8 0 .75 -.75 0") - print("_clock_face_hand_second_ addshape 2 3 -.25 -.25 0 0 10 0 .25 -.25 0") |