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