Flicker Phosphene Model
    This is an implementation of the 
    
    flicker-phosphene hallucination model in Javascript. 
    
    Three parameter settings that display flicker-induced pattern formation are available as presets.
    Some other parameters that lead to spontaneous (not flicker-induced) pattern formation are also
    available, just for fun.
    
    This page uses MathJax 
    to render $\LaTeX$ equations. If equations are not 
    rendering, the MathJax server may be down or blocked by your browser settings. For example, Opera and Chrome may disable third party scripts by default.
    
    The E-cell firing rate is represented as yellow and the I-cell firing rate as blue.
    
    ©2015 Michael Rule all rights reserved
    
 
    
    
    \[S(t) = A \cdot \operatorname{Heav}(\sin(2 \pi t / T) - 0.8)\]
    \[\tau_e \dot{U_e} = -U_e + f( a_{ee}  \cdot K_e \star U_e - a_{ie}  \cdot K_i \star U_i - \theta_e + g_e S(t) )\]
    \[\tau_i \dot{U_i} = -U_i + f( a_{ei}  \cdot K_e \star U_e - a_{ii}  \cdot K_i \star U_i - \theta_i + g_i S(t) )\]
    \[K_{e,i}(x)=\frac{1}{\sigma_{e,i} \sqrt{2\pi}}e^{\mid x \mid^2 / 2\sigma_{e,i}^2}\]