Skip to content

Commit

Permalink
shake: add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
200sc committed Jan 24, 2023
1 parent cebdd48 commit f6cf517
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shake/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# shake

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.

0 comments on commit f6cf517

Please sign in to comment.