Info_edupage/UI/main.py
2021-09-01 18:23:35 +02:00

22 lines
377 B
Python

from Scenes.BasicScene import BasicScene
from numpy import array as a
import time
screen_size = a([200, 500])
for i in range(400):
scene = BasicScene(10, screen_size)
scene.redraw()
#scene.save(f"Render/{i}.png")
if i < 150:
screen_size[0] += 3
elif i < 250:
screen_size[1] += 2
else:
screen_size -= 4
time.sleep(0.01)