Professional Documents
Culture Documents
Dona
Dona
def main():
a=0
b=0
height=24
width=80
#height=int(input("Enter Screen Height : "))
#width=int(input("Enter Screen Width : "))
os.system(clear)
while True:
z = [0 for _ in range(4*height*width)]
screen = [' ' for _ in range(height*width)]
j=0
while j<6.28:
j+=0.07
i=0
while i<6.28:
i+=0.02
sinA=sin(a)
cosA=cos(a)
cosB=cos(b)
sinB=sin(b)
sini=sin(i)
cosi=cos(i)
cosj=cos(j)
sinj=sin(j)
cosj2=cosj+2
mess=1/(sini*cosj2*sinA+sinj*cosA+5)
t=sini*cosj2*cosA-sinj* sinA
# prints
os.system(clear)
for index, char in enumerate(screen):
if index % width == 0:
print()
else:
print(char, end='')
# increments
a+=0.04
b+=0.02
if __name__ == "__main__":
main()