The shake package helps one "shake", or quickly move back-and-forth, things.
One can shake the screen via shake.Screen(ctx, time.Second)
, or shake anything that has a ShiftPos
function with
shake.Shake(...)
. Both of these package functions build on the shake.Shaker
type, which has some settings for configuring
how a thing is shaken.