00:04:19
Maze generating algorithms in Python
Описание
Source code:
https://github.com/jsmolka/maze
This video contains six perfect maze generating algorithms in Python. Perfect mazes are mazes without loops and exactly one path from one point to another.
Implemented algorithms:
- Recursive backtracking algorithm
- Hunt and kill algorithm
- Eller's algorithm
- Sidewinder algorithm
- Prim's algorithm
- Kruskal's algorithm
- Depth-first search
- Breadth-first search (not shown in video)
If you want to run the visual examples shown in the video you need to install the maze package and pyprocessing (link in readme). After that you should be able to execute the files in the visual directory.
Рекомендуемые видео

Двойной форсаж | 2 Fast 2 Furious (2003)
612 149 просмотров

Грозовой перевал | Wuthering Heights (2026)
504 103 просмотров

ЭТА ИГРА — ЛОВУШКА, И Я В НЕЙ СЧАСТЛИВ! ► All Hail The Orb
7 181 просмотров

Супер Марио: Галактическое кино | The Super Mario Galaxy Movie (2026)
296 223 просмотров

Круэлла / Cruella (2021)
497 081 просмотров

Пираты Карибского моря: Сундук мертвеца (2006)
3 401 181 просмотров

Аватар: Пламя и пепел (фильм 2025) / Avatar: Fire and Ash
319 291 просмотров

Ставим ГУСЕНИЦЫ на Porsche Cayenne. Новый проект!
52 021 просмотров

ТИТАНЫ, 4 сезон, 14 выпуск. ФИНАЛ
2 519 383 просмотров

Киеву прилетела ответка за Туапсе, Киев в огне. Одесский бродяга / Колобок из Одессы
9 577 просмотров

Зверополис 2 (2025) / Zootopia 2
3 214 976 просмотров

Мадагаскар (2005) / Madagascar
2 605 993 просмотров

ЭТО КАКОЙ-ТО КОШМАР | Сюрпризы работы с Маруся Б1
1 403 просмотров

ОТКРЫЛ СВОЙ ПРОДУКТОВЫЙ МАГАЗИН! ВЗЯЛ КРЕДИТ - МНЕ ЖОП@
204 101 просмотров

В поисках Немо (2003)
2 420 883 просмотров

Новая битва экстрасенсов, 25 сезон, 9 выпуск
2 278 228 просмотров

ОСТАЛИСЬ НА НОЧЬ В ЗАКРЫТОМ МАГАЗИНЕ!😱 ЭТО СТРАШНО! РОБЛОКС
166 797 просмотров

Коричневые очки.
20 373 просмотров

Молодые ножи. Новая кровь, 2 сезон, 11 выпуск
197 828 просмотров