{"id":17715621,"url":"https://github.com/denv3rr/routenodehandler","last_synced_at":"2026-02-10T15:05:09.590Z","repository":{"id":258675344,"uuid":"861113473","full_name":"denv3rr/RouteNodeHandler","owner":"denv3rr","description":"Handling (creation, pathfinding within, etc) of grid nodes for created entities in a 3D environment of a specified size. Written in C++. (Research)","archived":false,"fork":false,"pushed_at":"2024-10-20T20:05:11.000Z","size":890,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T21:46:24.724Z","etag":null,"topics":["3d","cplusplus","grid-system","navigation","nodes","npc","pathfinding","simulation"],"latest_commit_sha":null,"homepage":"https://seperet.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denv3rr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-22T03:18:48.000Z","updated_at":"2024-10-21T16:07:17.000Z","dependencies_parsed_at":"2024-10-21T17:02:21.564Z","dependency_job_id":null,"html_url":"https://github.com/denv3rr/RouteNodeHandler","commit_stats":null,"previous_names":["denv3rr/routenodehandler"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/denv3rr/RouteNodeHandler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denv3rr%2FRouteNodeHandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denv3rr%2FRouteNodeHandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denv3rr%2FRouteNodeHandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denv3rr%2FRouteNodeHandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denv3rr","download_url":"https://codeload.github.com/denv3rr/RouteNodeHandler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denv3rr%2FRouteNodeHandler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3d","cplusplus","grid-system","navigation","nodes","npc","pathfinding","simulation"],"created_at":"2024-10-25T12:06:29.571Z","updated_at":"2026-02-10T15:05:09.405Z","avatar_url":"https://github.com/denv3rr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://seperet.com\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\u003c/a\u003e\n\u003cdiv align=\"center\"\u003e\n\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cdiv\u003e\n    \u003ca href=\"https://seperet.com\"\u003e\n        \u003cimg src=\"https://github.com/denv3rr/RouteNodeHandler/blob/main/assets/media/psd-dude-scrolling-text.gif\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ca href=\"https://seperet.com\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/74038190/240815616-7b282ec6-fcc3-4600-90a7-2c3140549f58.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjg4NTg3NDcsIm5iZiI6MTcyODg1ODQ0NywicGF0aCI6Ii83NDAzODE5MC8yNDA4MTU2MTYtN2IyODJlYzYtZmNjMy00NjAwLTkwYTctMmMzMTQwNTQ5ZjU4LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDEzVDIyMjcyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1MTE3OTlhNDc4YTMzMzRhMWE0ZGQyMjNiODNiZDA4MThhYzMzMDYxZmVhYTZjMTVmMTJhNTZiZGQyOGFlMGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Hq1QjjSKzEA3qxQJYsrG3hNzdSAMVtiOexmhl-DszI4\" width=\"120\" height=\"120\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://seperet.com\"\u003e\n    \u003cimg src=\"https://images.squarespace-cdn.com/content/v1/612e9679ca3ada2f6398ebb3/c05732db-3886-411e-8985-1745b6bc638a/IMG_3139-ezgif.com-crop.gif?format=1500w\" alt=\"seperet.com spinning logo gif\" width=\"120\" height=\"120\"/\u003e\n\u003c/a\u003e\n    \u003cbr\u003e\u003c/br\u003e\n\u003cdiv align=\"center\"\u003e\n  \n  \n  ![GitHub top language](https://img.shields.io/github/languages/top/denv3rr/RouteNodeHandler)\n  ![GitHub Created At](https://img.shields.io/github/created-at/denv3rr/RouteNodeHandler)\n  ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/denv3rr/RouteNodeHandler/main)\n  ![GitHub License](https://img.shields.io/github/license/denv3rr/RouteNodeHandler)\n  ![GitHub branch status](https://img.shields.io/github/checks-status/denv3rr/RouteNodeHandler/main)\n  \n\u003c/div\u003e\n\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\u003c/div\u003e\n\n##\n\n-  Keep track of entity data (3D coordinates, neighbors, etc.) while they search for a location.\n    -  Currently supporting entities such as:\n        - NPCs\n        - Vehicles\n        - and more - feel free to add your own.\n\n    - Current pathfinding algorithms in use:\n        - A*\n        - Dijkstra\n\n\u003cbr\u003e\u003c/br\u003e\n- ***Example*** of the A* algorithm in use in a Python program.\n- \u003cbr\u003e\u003c/br\u003e\u003cimg src=\"https://i.imgur.com/vC71luv.gif\" width=\"300\" height=\"300\"/\u003e\n\u003c/div\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n\n## Compiling\n\n1. Clone the repo.\n    - `git clone https://github.com/denv3rr/RouteNodeHandler.git`\n\n2. Navigate to the `src` folder.\n    - `cd RouteNodeHandler/src`\n\n3. Compile. The current build can be compiled with 2 options:\n    1. Named:\n        - `g++ -I ../include *.cpp -o '\u003cout file name\u003e'`\n    2. Default:\n        - `g++ -I ../include *.cpp` - for an **unnamed** out file.\n    \n    - These 2 compile options use the \"Include\" (`-I`) tag to add 2 things:\n        1. The `include` folder found one directory back: `../include`\n        2. All (`*`) other files ending in `.cpp` (located in the `src` folder).\n\n    - Depending on what you specify at compilation, the compiled out/exe file will then be added to the same folder you are in (should be `src`).\n\n4. Run the `.exe` file.\n\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n\n## Issues\n\n🚧 If you have any problems with anything, submit an issue to let me know.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284158-e840e285-664b-44d7-b79b-e264b5e54825.gif\"\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n## Contributing\n\nContributions are welcome. Please fork this repository and create a pull request with your added changes.\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n\n\n## Links\n\n- seperet.com || [Seperet](https://seperet.com)\n- Dijkstra, A*, and Topological Sort || [CS106B Lecture 27. Dijkstra, A*, and Topological Sort](https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1242/lectures/27-graph-algorithms/)\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n\n## Notes\n\n1. Entity Identification: Each entity (NPC or Vehicle) is identified by its type and ID, like \"Entity: NPC 1\" or \"Entity: Vehicle 3\". This clarifies which entity is being processed.\n\n2. Start and Goal Nodes: For each entity, the start node and goal node are printed (e.g., \"Start Node: 0\", \"Goal Node: 99\"). If the start or goal node is blocked, subnodes are generated and tried.\n\n3. Subnode Attempts: If the start or goal node is blocked, the log shows \"Start node blocked, trying subnodes...\" and attempts to find subnodes. The subnode IDs are also shown (e.g., \"Start Node: 2899 at (0, 0, 3)\").\n\n4. Pathfinding: After attempting subnodes, the pathfinding algorithm is initiated (\"Initiating pathfinding algorithm...\"). If no path is found, the log prints \"No path found.\"\n\n5. Multithreading-like Output: The logs may seem to jump between entities because multiple entities are processed sequentially in each simulation step. This can give the appearance of multithreading but is a result of each entity attempting pathfinding one after the other. This will be added eventually.\n\n6. Goal Reached: At the end, if a path is successfully found, it reconstructs and prints the path (\"Goal node reached\").\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n\n## License\nMIT License\n\nCopyright (c) 2024 Denver Clark\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n\n##\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://seperet.com\"\u003e\n        \u003cimg src=\"https://images.squarespace-cdn.com/content/v1/612e9679ca3ada2f6398ebb3/5c5d2752-5b10-4535-9591-acff011443fa/3dgifmaker21328.gif?format=1500w\" width=\"300\" height=\"300\"/\u003e\n        seperet.com\n    \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenv3rr%2Froutenodehandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenv3rr%2Froutenodehandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenv3rr%2Froutenodehandler/lists"}