It looks like you're new here. If you want to get involved, click one of these buttons!

- All Categories 2.4K
- Chat 503
- Study Groups 21
- Petri Nets 9
- Epidemiology 4
- Leaf Modeling 2
- Review Sections 9
- MIT 2020: Programming with Categories 51
- MIT 2020: Lectures 20
- MIT 2020: Exercises 25
- Baez ACT 2019: Online Course 339
- Baez ACT 2019: Lectures 79
- Baez ACT 2019: Exercises 149
- Baez ACT 2019: Chat 50
- UCR ACT Seminar 4
- General 75
- Azimuth Code Project 111
- Statistical methods 4
- Drafts 10
- Math Syntax Demos 15
- Wiki - Latest Changes 3
- Strategy 113
- Azimuth Project 1.1K
- - Spam 1
- News and Information 148
- Azimuth Blog 149
- - Conventions and Policies 21
- - Questions 43
- Azimuth Wiki 718

Options

My new post about oscillations in the metabolism of yeast has a link to a website that simulates these oscillations:

- Mike Martin, Glycolytic oscillations: the Higgins–Selkov model.

I'd like to see more such things, since I'm looking at a lot of chemical reaction networks these days.

This evening Dara Shayda has - in just a couple hours! - created a demo that relies on the Wolfram Cloud:

- Dara Shayda, Glycolytic oscillations: the Higgins–Selkov model.

I believe Mike Martin's website relies on Mathematica too.

It's great that Dara can create such a website so fast. I could add text to this and turn it into a nice little introduction to this model of glycolytic oscillations. How could we make it even nicer?

Both these websites require that you type in some numbers. It would be more intuitive to use sliders. Dara had created a website that uses sliders, but the latency makes it very frustrating to use: you can try to slide the slider, but it just sits there for a while.

Using Javascript, some of the Azimuth gang made a webpage that works on my website, uses sliders to take inputs, and uses your browser to run a simple climate model in real time:

- Michael Knap and Taylor Baldwin, A simple stochastic energy balance model.

It looks and feels great. I get the feeling that main reason people don't do more of these is that people hate doing math programming in Javascript.

So, there seems to be some tradeoff between what's quick and easy to program (which is very important) and what feels nice to the user.

Here I am only interested in things that end users can run, using a web browser or maybe even a mobile phone, without downloading any special software.

## Comments

John, Dara could have made a CDF version of the interactive app with sliders, which would have run on your computer and been quite fast and responsive. But the problem is that you would then need to download and install the CDF Player plugin from the Mathematica site into your browser. Some users can't be bothered with this step, which is an aspect of human nature that developers have to deal with.

There is no difference in programming a cloud-served app versus a client-side plugin, as that is just a Mathematica deployment switch.

`John, Dara could have made a CDF version of the interactive app with sliders, which would have run on your computer and been quite fast and responsive. But the problem is that you would then need to download and install the CDF Player plugin from the Mathematica site into your browser. Some users can't be bothered with this step, which is an aspect of human nature that developers have to deal with. There is no difference in programming a cloud-served app versus a client-side plugin, as that is just a Mathematica deployment switch.`

IPython notebooks (aka Jupyter notebooks) are a nice option. If you upload them to github, you can let people run them on mybinder.org

Here is a quick stab at the Higgins selkov model running on mybinder.org http://mybinder.org/repo/mhlr/notebooks/Higgins-Selkov.ipynb. To get the interactive sliders go to the

Cellmenu and selectRun all.The plots can be made a lot prettier either by playing withe the maplotlib settings directly or by using something like the seaborn or bokeh libraries, but that is not my specialty.

The github repo is https://github.com/mhlr/notebooks/blob/master/Higgins-Selkov.ipynb.

`IPython notebooks (aka Jupyter notebooks) are a nice option. If you upload them to github, you can let people run them on mybinder.org Here is a quick stab at the Higgins selkov model running on mybinder.org http://mybinder.org/repo/mhlr/notebooks/Higgins-Selkov.ipynb. To get the interactive sliders go to the _Cell_ menu and select _Run all_. The plots can be made a lot prettier either by playing withe the maplotlib settings directly or by using something like the seaborn or bokeh libraries, but that is not my specialty. The github repo is https://github.com/mhlr/notebooks/blob/master/Higgins-Selkov.ipynb.`

Thanks, Daniel! I'm trying to get a discussion going on the Azimuth blog now, so I'll copy your remarks over there.

Unfortunately when I tried your "quick stab", I got

Hmm, but I just tried again and it's working. I'll check it out!

`Thanks, Daniel! I'm trying to get a discussion going on the Azimuth blog now, so I'll copy your remarks over there. Unfortunately when I tried your "quick stab", I got > Sorry, we're having trouble reaching the Binder service. Please keep checking the system status, and try again later. Hmm, but I just tried again and it's working. I'll check it out!`

The python-control package just crossed my path:

The github page is https://github.com/python-control/python-control

`The [python-control](http://python-control.sourceforge.net/manual/intro.html) package just crossed my path: > The python-control package is a set of python classes and functions that implement common operations for the analysis and design of feedback control systems. The initial goal is to implement all of the functionality required to work through the examples in the textbook Feedback Systems by Astrom and Murray. A MATLAB compatibility package (control.matlab) is available that provides many of the common functions corresponding to commands available in the MATLAB Control Systems Toolbox. The github page is https://github.com/python-control/python-control`