Is it possible to animate an image with python? HOW. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to animate an image with python? HOW.

I am new to python and i like to learn a new programming language with challenges. I believe it is possible since it can also be us for AI . Lets discuss how to go about this. Thanks

6th Nov 2018, 12:30 AM
saleh henry
2 Answers
6th Nov 2018, 2:26 AM
Asmit joy
Asmit joy - avatar
+ 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)
6th Nov 2018, 1:09 AM
LordHill
LordHill - avatar