-- Pause a drawing called by animate(). end_frame = function() coroutine.yield() end