This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.line { fill: none; stroke: steelblue; stroke-width: 1.5px; } | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
function Complex(re, im) { this.re = re; this.im = im; }; | |
Complex.prototype.clone = function() { return new Complex(this.re,this.im); }; |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.line { fill: none; stroke: steelblue; stroke-width: 1.5px; } | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
function Complex(re, im) { this.re = re; this.im = im; }; | |
Complex.prototype.clone = function(){ return new Complex(this.re,this.im); }; |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.ani .line { fill: none; stroke: steelblue; stroke-width: 1.5px; } | |
.grd .line { fill: none; stroke: black; stroke-width: 0.5px; } | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
function Complex(re, im) { this.re = re; this.im = im; }; |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
svg { font: 10px sans-serif; } | |
.brsh .extent { fill: steelblue; stroke: grey; stroke-width: 0.5px; fill-opacity: .125;} | |
.brsh .back { fill: none; stroke: black; stroke-width: 1px;} | |
.mapd .line { fill: none; stroke: black; stroke-width: 1px; } | |
.axis { fill: none; stroke: black; } | |
</style> | |
<body> |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
svg { font: 10px sans-serif; } | |
.brsh .extent { fill: steelblue; stroke: grey; stroke-width: 0.5px; fill-opacity: .125;} | |
.brsh .back { fill: none; stroke: black; stroke-width: 1px;} | |
.line { fill: none; stroke: black; stroke-width: 0.5px; } | |
.axis { fill: none; stroke: black; } | |
</style> | |
<body> |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
svg { font: 10px sans-serif; } | |
.brsh .extent { fill: steelblue; stroke: grey; stroke-width: 0.5px; fill-opacity: .125;} | |
.brsh .back { fill: none; stroke: black; stroke-width: 1px;} | |
.line { fill: none; stroke: black; stroke-width: 1px; } | |
.axis { fill: none; stroke: black; } | |
</style> | |
<body> |
This file contains hidden or 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 dist(z0,z,z1) | |
{ | |
var dx10 = z1.re-z0.re, dy10 = z1.im-z0.im; | |
var dx0 = z.re-z0.re, dy0 = z.im-z0.im; | |
return Math.pow(dx10*dy0-dy10*dx0,2)/(dx0*dx0+dy0*dy0); | |
} | |
function resampleLoop(f,ps,eps) | |
{ | |
var ds = ps.map(f); |
This file contains hidden or 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 dist(z0,z,z1) | |
{ | |
var dx10 = z1.re-z0.re, dy10 = z1.im-z0.im; | |
var dx0 = z.re-z0.re, dy0 = z.im-z0.im; | |
return Math.pow(dx10*dy0-dy10*dx0,2)/(dx0*dx0+dy0*dy0); | |
} | |
function resampleLoop(f,ps,eps) | |
{ | |
var ds = ps.map(f); |
This file contains hidden or 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 slider() | |
{ | |
var margin = {top: 5, left: 15, right: 10, bottom: 5}, | |
width = 300 - margin.left - margin.right, | |
height = 40 - margin.top - margin.bottom, | |
brush = d3.svg.brush(), | |
handle, slider, | |
value = 0, | |
upd = function(d){value = d;}, | |
cback = function(d){}; |
This file contains hidden or 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 slider(dom) | |
{ | |
var margin = {top: 5, left: 15, right: 10, bottom: 5}, | |
width = 300 - margin.left - margin.right, | |
height = 40 - margin.top - margin.bottom, | |
brush = d3.svg.brush(), | |
handle, slider, | |
value = 0, | |
upd = function(d){value = d;}, | |
cback = function(d){}; |
OlderNewer