Skip to content

Seda-cpu/REACT_PATHFINDING_PLAYGROUND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐾 Path Planning Simulation

This is an interactive 3D grid-based pathfinding simulator developed using React, Three.js, and Node.js.
You can place obstacles, define targets, and watch a robot (a cute animated cat!) find its way using A* or Dijkstra algorithms.


🤖 About This Project

This project was created as a way to learn and explore React and React Three Fiber.
Along the way, I got a little help from ChatGPT to experiment, troubleshoot, and improve things one step at a time.

It’s not just a simulator — it’s a personal learning playground in disguise 🚀


🚀 Features

  • 🧱 Grid-based map with interactive cells
  • 🧭 Path planning using A* and Dijkstra
  • 🐱 Animated agent following the path
  • 🧱 Pillar-style obstacle placement with auto-connecting bridges
  • 🎨 Visually styled tiles with hover effects and sound
  • 🌿 Custom gradient background and dynamic lighting
  • ⚙️ Clean backend API for path computation

📸 Preview

screenshot


🧠 Technologies

  • React + Three.js (@react-three/fiber, drei)
  • Node.js + Express
  • A* & Dijkstra pathfinding algorithms

📦 Setup & Run

# Install dependencies for client and server
cd client && npm install
cd ../server && npm install

# Run the backend
cd ../server && npm start

# Run the frontend
cd ../client && npm run dev

🧩 TODO / Coming Soon

  • Game mode: Puzzle levels & scoring

  • Algorithm visual comparison tools

  • Save/load level editor

🤍 Author

Developed with love by Sedanur Kırcı

Mechatronics engineer | Robotics developer | Outdoor & book lover

📄 License

This project's source code is licensed under the MIT License.
Some 3D assets (cat model and flag) are licensed separately under Creative Commons Attribution (CC-BY) or Free3D attribution terms.
Please see the Credits & Assets section for details.

📁 Credits & Assets

  • 🐱 3D Cat Model & Animations
    Cat model used in this project was provided by supercg on Free3D.

  • 🏁 Target Flag Model
    The flag model used in this project was created by inCook on Sketchfab

This project is non-commercial and the asset is used for educational and demonstrative purposes only.

About

Pathfinding Simulator App for Education - REACT - NODEJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published