# Large-scale Interactive Numerical Experiments of Chaos, Solitons and Fractals in Real Time via GPU in a Web Browser

## How to use/interact with the programs

Each program has a Graphical User Interface (GUI) with menus
and submenus in the interface. To create excitations anywhere
in the tissue in __2D applications__,
use the mouse/touchpad **Click/Drag**, whereas in __3D applications__,
use **Ctrl+click/drag** with **PCs** and
**Command+click/drag** with **Mac OS**.
In the lattice-Boltzmann simulations, mouse clicks can be used to
add or remove obstacles based on the clicker type that can be chosen from
the simulation menu.

The main menus in the GUI are as follows.

- Simulation: press Solve/Pause to start or stop a simulation
or Initialize to reinitialize the problem. Change the click
radius and more.
- Model parameters: change interactively at any time. For
example, it is possible to block or enhance currents or
time constants.
Some programs have predefined sets of parameters that can
be chosen from a drop-down menu.
- Solver parameters: time integration variables, domain size
and resolution.
- Display parameters: change the frame rate throttle to slow
down or speed up the simulation according to graphics card
or visualization speed needs. Colormaps
and signal probe location visibility can also be changed,
tip-trajectory options can be set through a sub-menu, and
many more.
- Save Canvas: save a visualization result as a png image.
- Load XML File/Save: save settings and view points on disk,
and view, and reload them when necessary. This feature is
specially useful for fractal programs. All the setup files
to recreate the fractals in the article are included in the
supplementary material.
- Interval caller: make interactive calls to functions; for
example, type in env.savePlot2D() in the
3-Variable Minimal Model
to save the canvas automatically at a set interval.
- More complex models have many more menus and options.
For example, the OVVR model has extensive menus to
change the current multipliers, time coefficients, and
cell types; record signals; display various currents; save and
load parameters, etc.

## Fractals

- The Mandelbrot Set
- The Polynomial Julia Set
- The Biomorphs Set

## Two Dimensional Models

- The Barkley Model
- The FitzHugh-Nagumo Model
- The Mitchel-Schaffer Model
- The 3 Variable Fenton-Karma Model
- The 3 Variable Gray-Pathnamathan Rabbit Model
- The Beeler-Reuter Model
- The OVVR Model
- The Gray Scott Model (Original)
- The Leopard/Jaguar Model
- The Wave Equation

## Three Dimensional Model

- The Gray-Pathnamathan Rabbit Model