Add coordinates to a position
{ x = 1, y = 0 }
|> addTo (2,3)
--> (3,3)Create the coordinates to the new location using the current position as the center.
(1,1)
|> coordTo (1,2)
--> { x = 0, y = 1 }Generate a position inside a grid.
given the width and height in in Int, returns a point with values in (-1,1)
Add coordinates to a position