Effects of moderate noise on a limit cycle oscillator: Counterrotation and bistability (Phys. Rev. Lett., 2014)
View LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, | |
and distribution as defined by Sections 1 through 9 of this document. |
View README.md
This is an animation representing the Morris-Lecar model of a neuron driven by stochastic ion channels. Ion channels open and close randomly through time, and they are visible while open. The fast sodium channels are colored orange, and the slow potassium channels are colored blue.
View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
html, body { margin: 0; padding: 0;} | |
</style> | |
<canvas id="canvas"></canvas> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var num = 1e4; | |
var canvas = document.getElementById("canvas"); | |
var width = canvas.width = 960; | |
var height = canvas.height = 500; |
View LV.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var canvas = document.getElementById("canvas"), | |
width = canvas.width = 960, | |
height = canvas.height = 500, | |
g = canvas.getContext("2d"); | |
var reactionRadius2 = 2, | |
alpha = 0.007, // fraction of A molecules made per step | |
gamma = alpha/1.5, // fraction of B molecules that decay per step | |
randIC = function (i) { | |
return [width*Math.random(), height*Math.random()]; |
View QSA.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function anim () { | |
var sigma = 0.4, | |
dt = 0.05, | |
x = -1, | |
t = 0, | |
nSamples = 1, | |
rn = d3.random.normal(0, sigma*Math.sqrt(dt)); | |
function evolveSimulation() { | |
var i = 0; | |
while (i++ < 25) { |