#!/bin/rc rfork e bounce = (-31 -28 -14 -5 +5 +14 +28 +31) togif < /lib/bunny.bit | gif & echo resize -r 0 0 9999 9999 > /dev/wctl max = `{read -c 60 /dev/window} start = `{echo $max(5) $max(3) -2/100+ $max(2) 200+ $max(5) $max(3) -2/100- $max(2) f | dc} while(sleep 0.5){ d = `{read -c 60 /dev/window} if(~ $d(4) $max(4)) echo resize -r $start > /dev/wctl for(i in `{seq 8}){ echo move -minx +10 -miny $bounce($i) > /dev/wctl sleep 0.03 } }