Figure 1: Distribution of NH3 in equilibrium reaction NH3+HClNH4Cl scaled according to each timestep (left) and conservation of mass (right). Simulation features N=4 possible energy levels with temperature of T=1×1059 K .

As part of my coursework for my last semester, I've been studying stochastic processes: a wholistic analysis of repeated random variables, including long-time behaviors. The study involved a final project in a topic of each individual's choosing, so I built a particle simulation with some quantum basis. Notably, particle reactions are modeled by collisions according to the particle-in-a-box wavefunctions, with each particle having an energy level and thus a wavefunction. The overall project is not entirely consistent with chemical theory, but the original purpose of the project was a mathematical investigation, not a chemical investigation, so I was happy to fit any chemical theory in.

You can find the project at this sourcehut repository, written in Rust ❤️ The rendered whitepaper is also contained within the repository, but for convenience, it is specifically this file. Be aware that Firefox gave me issues when I tried to download the PDF from Sourcehut, but I was able to download it with curl, so presumably that is a Firefox-only problem.


In other news, I did a lot of ice dyeing in the past months. It is similar to (or a subcategory of) tie dyeing. I'm currently developing a method to dye a lab coat solid black, using shirts as my trial material. Hopefully I'll write a blog post on the topic soon, it interacts pleasantly with my chemical intuitions and I'd like to document my ideas.