What we get:
Plugin
import math
import time
Settings - You can change
R = 0 #rotateposition
PW = 100 #platewide
PH = round(PW/32*14, 0) #plateheight
colours = [".",",","-","~",":",";","=","!","*","#","$","@"]
Calculating
while True:
lighting = int(round(abs(11 * (math.cos(math.radians(R+90)))),0))
DPW = round(abs(PW * (math.cos(math.radians(R)))),0) #displayplatewide
Rotating loops
R = R + 4
Printing
HL = PH # heightloops
S = (PW - DPW)/2 #space
x = True
S means the numbers of " " in this:
while x:
if HL == 0:
x = False
print(' ' * int(S),(colours[lighting]) * int(DPW))
HL = HL - 1
time.sleep(0.1)
But the frames are connected, let's fix it!
HL = PH #heightloops
y = True
while y:
if HL == 0:
y = False
print(" ")
HL = HL - 1
Top comments (1)
good job, boy! Keep your passion always