Fork me on GitHub
pso.js is used to find the best way to fit a set of random generated shapes in a square, with as minimum overlap as possible

Controls

Shape type

Number of iterations
Population dimension
Inertia weight
Social influence
Personal influence