An introduction to the algorithm of maze generation using backtracking. This video has been inspired in the implementation of the same algorithm by Daniel Shiffman, as part of his coding train series:
https://www.youtube.com/watch?v=HyK_Q5rrcr4&t=39s&ab_channel=TheCodingTrain
This and more tutorials can be found at urielgarcilazo.com/tutorials