aboutsummaryrefslogtreecommitdiff
path: root/presets/dir/newfiles.py
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2022-09-14 23:30:46 +0200
committeromagdy7 <omar.professional8777@gmail.com>2022-09-14 23:30:46 +0200
commitb0d4f79820eecafadaffc443df57eb0d18872b9e (patch)
tree3b449d608f2b1ad6d6530fb34429ee12aff819d4 /presets/dir/newfiles.py
parent038ef83ec9c57add1d53202bfdb9cf141b6dc6ab (diff)
downloadgof-rs-b0d4f79820eecafadaffc443df57eb0d18872b9e.tar.xz
gof-rs-b0d4f79820eecafadaffc443df57eb0d18872b9e.zip
Added all patterns to the code and made that you could select between them with j and k and animate them with a and stop the animation with s
Diffstat (limited to 'presets/dir/newfiles.py')
-rwxr-xr-xpresets/dir/newfiles.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/presets/dir/newfiles.py b/presets/dir/newfiles.py
deleted file mode 100755
index e304f44..0000000
--- a/presets/dir/newfiles.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python3
-
-
-with open("/home/pengu/test/rust-dev/gof-rs/presets/new.txt", "r") as file:
- cnt = 0
- content = ""
- for line in file.readlines():
- if line != '\n':
- content += line.rstrip().center(72, ".") + '\n'
- if line == '\n':
- with open(f"./pattern{cnt}.txt", "w") as pat:
- pat.write(content)
- content = ""
- cnt += 1
-