2 Answers
+ 4
Go to the link
https://stackoverflow.com/questions/48395209/how-to-animate-an-image-derived-from-a-2d-histogram
Hope thi is helpful for you...
+ 1
This isnt what you mean, but I threw this together one day. It wont work on sololearn, but if you copy and past it into a proper ide the ball will bouce.
import time
ball=['''
o
â â â ''','''
0
â â â ''','''
O
â â â ''','''
0
â â â ''']
space=30
running=True
while running==True:
for i in range(4):
print("\n" * space)
print(ball[i])
print("\n" * space)
time.sleep(.25)