Prompt
Create a p5.js animation that illustrates the principles of quantum mechanics by simulating the behavior of particles in a potential well, allowing the user to adjust the depth and width of the well, as well as the energy of the particles, to visualize the resulting probability distributions and wave functions.
A system prompt was added to support web rendering