feat: Add Traveling Salesperson (TSP) Visualizer#1329
Merged
Conversation
|
Someone is attempting to deploy a commit to the Anuj's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
Hi @steam-bell-92 , The Traveling Salesperson Problem (TSP) Visualizer has been implemented and live demo video, screenshots have been attached. Kindly review the PR and tell if any changes are to be made. Thanks ! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
🎉 Thank you for your contribution! Your Pull Request has been merged successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces the Traveling Salesperson Problem (TSP) Visualizer under the Utilities section. It provides an interactive environment to visualize and understand different algorithmic approaches to solving the TSP on a 2D coordinate plane.
Key Features & Changes
TSP-Visualizer.py): Added an interactive Pygame-based window that allows users to place nodes with their mouse and visualize shortest paths.tsp-visualizer.jsto mirror the Python experience natively in the browser via HTML5 Canvas.generate_banners.pyto automatically procedurally generate a vector banner (tsp-visualizer.webp) tailored for the TSP project.projects_registry.json,index.html, andprojects.jsso it flawlessly renders in the grid and is searchable.Testing Instructions
python3 utilities/TSP-Visualizer/TSP-Visualizer.py.Live Demo Video and Screenshots
TSP.VIsualizer.mov
Closes #1310