Algorithm in javascript using AudioWorklet for panning sound across an arbitrary number of speakers.
Run on a server in chrome. If you have python installed,
run python -m SimpleHTTPServer
in the directory of index.html and then connect to localhost:8000