Start with a perfect maze
Repeat the following steps:
Have the origin point to a random neighboring cell
that neighboring cell becomes the new origin
have the new origin point nowhere