Algorithmic generation of coordinates