That idea reminds me of the chemistry simulations of filmulator (yet likely much less complicated). If you make something be sure to share it on HN, I'd be curious to see!
https://github.com/CarVac/filmulator-gui/wiki/Basic-guide-to...
https://github.com/CarVac/filmulator-gui/blob/master/filmula...