This commit is contained in:
Lukas Schauer 2022-08-04 20:47:53 +02:00
parent 8d2a19097b
commit 501910becb

View file

@ -51,17 +51,10 @@ def introFrames(args):
def outroFrames(args):
xml = etree.parse('froscon2022/artwork/outro.svg').getroot()
pathstr = xml.find(".//*[@id='animatePath']").get('d')
frog = xml.find(".//*[@id='animatePath']").get('d')
path = svg.path.parse_path(pathstr)
init = path.point(0)
frames = int(4*fps)
for i in range(0, frames):
p = path.point(i / frames) - init
yield (
)
yield ()
def pauseFrames(args):
frames = 2*fps