Spent an hour wrestling Github Actions to build the GBA file AND publish it to Github Pages.
The game is available to test on https://rayzchen.github.io/snake-gba/
Much of this logged time was actually spent hunting for RLE files and testing them…
Rewrote a large portion of the loading code to render a ‘cursor’ which indicates where the placed cells will be. The actual placing hasn’t been implemented yet…
RLE bank can be found at https://rayzchen.github.io/algol/patterns/
Changed the behaviour of the playback button icons to keep sync with the simulation. Also fixed a layering issue in the CSS. The project should now be ready to ship!
Temporary deployments can be found at https://rayzchen.github.io/mechsim/
Added a modal to input any RLE string (many can be found at https://conwaylife.com/wiki/!). Spent a while trying to debug an extra generation simulated when loading, only to realise my RLE loading was too fast and outpaced the simulator…
The RLE can also be inputted through Ctrl+Enter. RLE banks to be created soon…
Temporary deployments can be found at https://rayzchen.github.io/algol/
Added reset, play/pause and step buttons!
Temporary deployments can be found at https://rayzchen.github.io/mechsim/
Added a bar on the left to graphically show the ratio between kinetic and potential energies (the faster things are moving, the more light grey there is).
Temporary deployments can be found at https://rayzchen.github.io/mechsim/
Finally able to navigate through the six simulation systems from one place 🔥🔥 Had to wrestle with CSS flexbox and transitions to make nice animations!
Temporary deployments can be found at https://rayzchen.github.io/mechsim/
Added a simple cart and pendulum system, and realised the internal rotation angles were COMPLETELY opposite… Spent half an hour of unlogged time just to find out that all of the systems were symmetric in angles except ONE which had a wrong sign in the rendering code, making it LOOK symmetric… Fixed that without too much of a headache once found :D
Added a button to view the Python code that sets up the physical system.
Temporary deployments can be found at https://rayzchen.github.io/mechsim/
New simulations added:
Temporary deployments can be found at https://rayzchen.github.io/mechsim/
To make adding new simulations easier, I restructured the file layout and added more dynamic code to the shared JS to create the elements required rather than copy pasting everything in every file. Also added labels to the tab title and bottom right corner. Also rewrote the drawing code for the rolling disk to add more details.
Temporary deployments can be found at https://rayzchen.github.io/mechsim/disk/
This system contains a semicircular anulus rocking on a rough plane, with a circular disk inside attached to a compound pendulum, and constrained with three springs. Adjusting the parameters took an awfully long time…
Temporary deployments can be found at https://rayzchen.github.io/mechsim/disk.html
After much headache, two new constraints have been implemented: disk rolling on a plane and disk rolling in a circle. There were also lots of bugs in the LaTeX output, which I just kept encountering one by one, but hopefully they should now all be fixed.
Temporary deployments can be found at https://rayzchen.github.io/mechsim/disk.html
Temporary deployments can be found at https://rayzchen.github.io/mechsim/pend.html