May 14, 2020
Continuing my last work of simulating a mechanical system using RGSS3, I made a new version using rpg_core.js, the game scripting system shipped with RPG Maker MV. This version is live on web!
/physics
#javascript
#rgss
#hamiltonian
#calculus
#ode
#web
#fourier transform
Apr 28, 2020
Hamiltonian mechanics gives us a good way to simulate mechanical systems as long as we can get its Hamiltonian and its initial conditions. I implemented this simulation in RGSS3, the game scripting system shipped with RPG Maker VX Ace.
/physics
#ruby
#rgss
#hamiltonian
#calculus
#ode
Jan 6, 2020
In this article, I try exploring an idea: using complex numbers to combine pairs of canonical variables into complex variables: c:=αq+iβp. It turns out that we can write canonical equations dtdc=−2iαβ∂c∗∂H, Poisson brackets
{f,g}=−2iαβ(∂c∂f⋅∂c∗∂g−∂c∗∂f⋅∂c∂g), and canonical transformations
∂c′∗∂c∗=∂c∂c′,∂c′∗∂c=−∂c∗∂c′ in these complex numbers. Finally, I show two examples of using them in real problems: a free particle, and a harmonic oscillator.
/physics
#classical mechanics
#canonical transformation
#hamiltonian
#complex
#long paper