#NEWLINE# def demo( screen ) : #NEWLINE# #INDENT# scenes = [ ] #NEWLINE# effects = [ Print ( screen , ColourImageFile ( screen , 'colour_globe.gif' , ( screen . height - 2 ) ) , 0 , stop_frame = 200 ) , Print ( screen , FigletText ( 'ASCIIMATICS NEWS' , font = 'banner3' ) , ( ( screen . height // 2 ) - 3 ) , colour = 7 ) ] #NEWLINE# scenes . append ( Scene ( effects ) ) #NEWLINE# effects = [ Print ( screen , ColourImageFile ( screen , 'grumpy_cat.jpg' , 40 ) , screen . height , stop_frame = ( ( 40 + screen . height ) * 3 ) ) , Scroll ( screen , 3 ) ] #NEWLINE# scenes . append ( Scene ( effects ) ) #NEWLINE# effects = [ BannerText ( screen , ColourImageFile ( screen , 'python.png' , ( screen . height - 2 ) ) , 0 , 0 ) ] #NEWLINE# scenes . append ( Scene ( effects ) ) #NEWLINE# screen . play ( scenes , stop_on_resize = True )