This project seeks to create a browser-based GPU-accelerated equivalent of “Quantum Marble Maze”, a game developed in 2016 by Dr. Crispin Cooper to help teach the fundamentals of quantum mechanics.
The original game’s educational focus was undercut by two main flaws – a lack of browser support and poor simulation performance. This project sought to correct both these issues with a JavaScript re-write and GPU-acceleration respectively.
The original game’s Java code was thoroughly investigated and then adapted to fit JavaScript’s different programming paradigms. Once the basic simulation had been recreated, an iterative process of implementing a GPU-acceleration pipeline began. The performance of each successive iteration was carefully tested to ensure a net-positive impact on simulation speed.
The final prototype boats a full recreation of the basic simulation, compatibility with different browsers and levels of hardware, an over 400% increase in speed over a single-threaded simulation, and several re-created levels from the original game – providing a solid base for further work.