This PySide2 app generates the 296 max complexity android lock patterns and draws them. Inspired by: https://www.youtube.com/watch?v=PKjbBQ0PBCQ&t=229s&ab_channel=Dr.Zye
It doesn't generalize all sizes of grids. Sometimes the QTimer locks up and the autoplay stops.