During HARMONY 2023, I've started experimenting with emscripten. This is a first test, getting COPASI to work. Simply upload a COPASI file and have it run (it will run a time course simulation). Experimentally some basic processing changes can be made, like changing durations or changing the simulation method.
{"problem":{"Duration": 100, "StepNumber": 100, "StepSize": 0.1}}or
{"method": {"name": "Stochastic (Gibson + Bruck)"}}or for changes of initialvalues in the form of display names. So:
[A]_0for initial concentration of species A
Values[t].InitialValuefor initial value of parameter t
(r1).kfor the value of k of reaction r1.
{"initial_values": {"[A]_0": 10.0, "Values[t].InitialValue": 0.1, "(r1).k": 0.1}}