{"id":21959117,"url":"https://github.com/thepredictivedev/cfd-based-maze-solver","last_synced_at":"2026-04-10T17:14:49.818Z","repository":{"id":254766814,"uuid":"847478668","full_name":"ThePredictiveDev/CFD-Based-Maze-Solver","owner":"ThePredictiveDev","description":"Using a simple diffusion based model to simulate fluid flow and solve a simple maze","archived":false,"fork":false,"pushed_at":"2024-08-25T23:39:55.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T23:45:02.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThePredictiveDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-25T23:36:09.000Z","updated_at":"2024-08-25T23:39:58.000Z","dependencies_parsed_at":"2024-08-26T01:18:18.954Z","dependency_job_id":"e98a7af7-7bf2-4903-9f47-806a145b68de","html_url":"https://github.com/ThePredictiveDev/CFD-Based-Maze-Solver","commit_stats":null,"previous_names":["thepredictivedev/cfd-based-maze-solver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePredictiveDev%2FCFD-Based-Maze-Solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePredictiveDev%2FCFD-Based-Maze-Solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePredictiveDev%2FCFD-Based-Maze-Solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePredictiveDev%2FCFD-Based-Maze-Solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThePredictiveDev","download_url":"https://codeload.github.com/ThePredictiveDev/CFD-Based-Maze-Solver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013996,"owners_count":20547178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T09:19:59.020Z","updated_at":"2025-12-30T23:44:33.578Z","avatar_url":"https://github.com/ThePredictiveDev.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maze Solver Using Fluid Dynamics\n\nThis project is a Python-based maze solver that uses computational fluid dynamics to find and visualize the solution path through a maze.\n\n## How It Works\n\n1. **Preprocessing**: The maze image is converted into a binary matrix, where walls are represented by `0` and paths by `1`.\n2. **Entry and Exit Detection**: The program dynamically detects the entry and exit points on the borders of the maze.\n3. **Fluid Dynamics Simulation**: The fluid is simulated to flow through the maze, finding a path from the entry to the exit.\n4. **Visualization**: The solution path is visualized using Matplotlib, with the fluid flow shown in shades of blue and the final path highlighted in blue.\n\n## Requirements\n\n- Python 3.x\n- OpenCV (`cv2`)\n- Matplotlib\n- NumPy\n- SciPy\n\nYou can install the required packages using `pip`:\n\n```bash\npip install opencv-python-headless matplotlib numpy scipy\n```\n\n## Example\n\nTo use the maze solver, update the image path and run the script:\n\n```python\nsolve_maze_with_fluid_dynamics(r'C:\\path_to_your_maze_image\\maze_image.jpeg')\n```\n\n## License\nThis project is licensed under the MIT License. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepredictivedev%2Fcfd-based-maze-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepredictivedev%2Fcfd-based-maze-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepredictivedev%2Fcfd-based-maze-solver/lists"}