Giter Club home page Giter Club logo

pathfinder-3d's Introduction

3D Pathfinding with Obstacles

This repository contains code for solving the problem of finding the shortest path on a 3D terrain grid while navigating around obstacles. The solution utilizes the A* search algorithm and provides visualizations of the optimal path in both heatmap and 3D plot formats.

Problem Description

The problem involves navigating from a start point to a goal point on a 3D terrain grid. Each point on the grid represents a location with a specific height, and certain points are designated as obstacles. The objective is to find the shortest path from the start to the goal point while avoiding these obstacles.

Solution Overview

The solution employs the A* search algorithm, a popular pathfinding algorithm known for its efficiency and accuracy in finding the shortest path in a graph. A heuristic function is used to guide the search towards the goal while considering the terrain's topology and the presence of obstacles.

The following dependencies are required to run the code:

  • matplotlib==3.4.3
  • numpy==1.21.2

Getting Started

To run the pathfinding algorithm and visualize the results:

  1. Clone this repository to your local machine.
  2. Ensure you have Python installed.
  3. Install the required dependencies by running pip install -r requirements.txt.
  4. Run the pathfinder.py script using Python.

Screenshots

App Screenshot

License

This project is licensed under the MIT License.

pathfinder-3d's People

Contributors

kosa12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.