<s> from __future__ import division <EOL> from asciimatics . effects import Cycle , Stars <EOL> from asciimatics . renderers import FigletText <EOL> from asciimatics . scene import Scene <EOL> from asciimatics . screen import Screen <EOL> def demo ( screen ) : <EOL> effects = [ <EOL> Cycle ( <EOL> screen , <EOL> FigletText ( "<STR_LIT>" , font = '<STR_LIT>' ) , <EOL> screen . height // <NUM_LIT:2> - <NUM_LIT:8> ) , <EOL> Cycle ( <EOL> screen , <EOL> FigletText ( "<STR_LIT>" , font = '<STR_LIT>' ) , <EOL> screen . height // <NUM_LIT:2> + <NUM_LIT:3> ) , <EOL> Stars ( screen , ( screen . width + screen . height ) // <NUM_LIT:2> ) <EOL> ] <EOL> screen . play ( [ Scene ( effects , <NUM_LIT> ) ] ) <EOL> Screen . wrapper ( demo ) </s>
