NoRedInk/elm-random-extra/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Random.Touch

List of Touch Generators

Generators

tap :
Int
-> Int
-> Generator
{ x : Int
, y : Int
}

Generate a random tap given a screen width and screen height

touch : Int -> Int -> Generator Touch

Generate a random touch given a screen width and screen height