A bouncing ball with Elm