This script combines threejs and processingjs - click to randomize

you: what the?
me: This script runs a processing sketch that fills an array
with the positions of elements. This is then read and rendered by threejs
you: why are the physics so bad?
me: Sorry! This is an older processing sketch, I thought it would work well as a demo even if it is a little hinky