Parabel +korrekte params
This commit is contained in:
parent
d4f6235bb8
commit
2a17f94554
1 changed files with 5 additions and 4 deletions
|
@ -8,10 +8,11 @@ from time import sleep
|
|||
|
||||
# Randomly choose a cow
|
||||
cows = "🐵🐒🦍🦧🐕🐯🦝🐩🐅🐴🐎🦄🦌🐗🐂🐃🐄🐪🐫🦙🦒🐹🦘🦡🐧🕊️🦅🦆🦉🐍🦎🐊🦜🦚🦩🐲🐉🦕"
|
||||
cowslength = len(cows)
|
||||
# cow = cows[random.randint(0, cowslength - 1)]
|
||||
cowlistlength = len(cows)
|
||||
cow = cows[random.randint(0, cowlistlength - 1)]
|
||||
# cow = "🐄"
|
||||
cow = "*"
|
||||
# cow = "*"
|
||||
cowlength=len(cow)
|
||||
|
||||
# Needed: find our screensize
|
||||
termsize_xy = os.get_terminal_size()
|
||||
|
@ -48,7 +49,7 @@ print(xsteps)
|
|||
a = input("CR please:")
|
||||
|
||||
curpos(1, ymax)
|
||||
for x in range(1, xsteps):
|
||||
for x in range(1, xsteps, cowlength):
|
||||
# parameters to fit the screen
|
||||
y = (x - xmitte) ** 2 /xmitte
|
||||
if y < ymax:
|
||||
|
|
Loading…
Reference in a new issue