V
P = |Ψ| ²
Re(Ψ)
Im(Ψ)
P = |Ψ| ²
Re(Ψ)
Im(Ψ)
Quantum Mechanics, Schrödinger equation simulation
Available variables:
n (number) [read-only] : number of grid in the simulation (N grid in Simul Options)
realArr (Float32Array) : real value of the wavefunction
imagArr (Float32Array) : imaginary valur of the wavefunction
potentArr (Float32Array) : potential field (V)
*scale potential to about n² for it to have noticeable effect
normalize.wavepeak (number) : value of wavepeak to scale the wave peak
* value of 1.0 is the top of the canvas
Render options:
renderOpt.scalePotential (number)
renderOpt.scaleWave (number)