News for hackers. Stuff that matters.
Re:Maze Algorithms (2017) by ogogmad on Sunday January 25, 2026 @02:59AM (#46751781)
Have you considered finding a conformal transformation† that maps a square to any other possible shape, as long as that shape doesn't have any holes? Such a transformation always exists by the Riemann Mapping Theorem, and is unique as long as you specify in addition (1.) which point the square's centre maps to, and (2.) the angle of rotation around that point. Not sure if anyone's ever tried that.

If you actually want more freedom, you can compose with an arbitrary diffeomorphism of the square to itself.

† - That is, preserving all angles, including right angles. The terminology stems from the output angles conforming (???) to the input angles.

Re:Maze Algorithms (2017) by ogogmad on Sunday January 25, 2026 @05:37AM (#46752803)
P.S. This suggestion would eliminate your pinch points.
Re:Maze Algorithms (2017) by kamens on Monday January 26, 2026 @02:57AM (#46762958)
i'm torn between my stupidity re:your first comment and my love of eliminating pinch points (now you're speaking my language). i need to read up a lot to better understand your suggestion!

(most pinch points are gone these days, it just required a lot of edge case hunting)