This repository contains a web application that visualizes the Particle Swarm Optimization (PSO) algorithm. The application uses HTML and JavaScript to create an interactive demonstration of how a particle swarm converges towards a global objective.
To see the PSO visualization in action, you can visit the live demo at https://adamstirtan.github.io/pso-js/.
- Particle Swarm Optimization algorithm visualization.
- Interactive canvas: Set the objective point by dragging the mouse on the canvas.
- Dynamic control of PSO hyperparameters (Inertia, C1, C2) using sliders.
To run the application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/adamstirtan/pso-js.git
-
Open the index.html file in your web browser.
-
Interact with the PSO visualization by moving the mouse on the canvas and adjusting the hyperparameter sliders.