Skip to content

Instantly share code, notes, and snippets.

@ptvans
ptvans / inlet.js
Created July 25, 2012 00:49
just another inlet to tributary
var b = svg.append("g")
.attr("transform", "translate(150,150)");
b.append("circle")
.attr("r", 80)
.style("fill","#99cccc")
var dot = b.append("circle")
.attr("r",10)
@ptvans
ptvans / inlet.js
Created July 25, 2012 00:50
just another inlet to tributary
var b = svg.append("g")
.attr("transform", "translate(150,150)");
b.append("circle")
.attr("r", 80)
.style("fill","#99cccc")
var dot = b.append("circle")
.attr("r",10)
@ptvans
ptvans / inlet.js
Created July 25, 2012 00:59
just another inlet to tributary
var b = svg.append("g")
.attr("transform", "translate(150,150)");
b.append("circle")
.attr("r", 80)
.style("fill","#99cccc")
var dot = b.append("circle")
.attr("r",10)
@ptvans
ptvans / inlet.js
Created July 26, 2012 03:05
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 9,
n = 2372,
scale = 10,
radius = 10,
c = 0.72,
@ptvans
ptvans / inlet.js
Created July 26, 2012 03:09
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 9,
n = 2372,
scale = 10,
radius = 10,
c = 0.4032,
@ptvans
ptvans / inlet.js
Created July 26, 2012 04:24
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 0,
n = 2738,
scale = 69,
radius = 36,
c = 0.17741,
@ptvans
ptvans / inlet.js
Created July 26, 2012 05:08
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 43,
n = 2738,
scale = 69,
radius = 36,
c = 0.17741,
@ptvans
ptvans / inlet.js
Created July 26, 2012 05:12
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 43,
n = 2738,
scale = 69,
radius = 30,
c = 0.17741,
@ptvans
ptvans / inlet.js
Created July 26, 2012 05:13
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 43,
n = 3231,
scale = 69,
radius = 30,
c = 0.09225,
@ptvans
ptvans / inlet.js
Created July 26, 2012 05:24
just another inlet to tributary
// Original at http://www.jasondavies.com/sunflower-phyllotaxis/
//forked from Kai's (syntagmatic) implementation
//http://enjalot.com/cypress/3114111/
var w = tributary.sw,
h = tributary.sh,
p = 43,
n = 9436,
scale = 108,
radius = 40,
c = 0.07,