[ edit and run ]
Run
screen('main_screen', 640, 480) picload('bg.jpg', 1) setmain( mono_mosaic, 20 ) y = 0 function mono_mosaic() { if ( hsp.loading ) return for( x=0; x