defconstruct(self):# play the first animations...# you don't need a section in the very beginning as it gets created automaticallyself.next_section()# play more animations...self.next_section("this is an optional name that doesn't have to be unique")# play even more animations...self.next_section("this is a section without any animations, it will be removed")
defconstruct(self):self.next_section()# this section doesn't have any animations and will be removed# but no error will be thrown# feel free to tend your flock of empty sections if you so desireself.add(Circle())self.next_section()
[{"name":"create square","type":"default.normal","video":"ElaborateSceneWithSections_0000.mp4","codec_name":"h264","width":854,"height":480,"avg_frame_rate":"15/1","duration":"2.000000","nb_frames":"30"},{"name":"transform to circle","type":"default.normal","video":"ElaborateSceneWithSections_0001.mp4","codec_name":"h264","width":854,"height":480,"avg_frame_rate":"15/1","duration":"2.000000","nb_frames":"30"},{"name":"fade out","type":"default.normal","video":"ElaborateSceneWithSections_0002.mp4","codec_name":"h264","width":854,"height":480,"avg_frame_rate":"15/1","duration":"2.000000","nb_frames":"30"}]
defconstruct(self):self.next_section(skip_animations=True)# play some animations that shall be skipped...self.next_section()# play some animations that won't get skipped...