[ Launch: modularity testing ] 5627785 by lostinplace
See Previous Inlet [ Gist ]
-
-
Save lostinplace/5627785 to your computer and use it in GitHub Desktop.
modularity testing
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
{"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":600,"height":300,"hide":false},"description":"modularity testing","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.svg":{"default":true,"vim":false,"emacs":false,"fontSize":12},"dat.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01} |
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
[ | |
150, | |
200, | |
350, | |
500, | |
10 | |
] |
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
var svgContainer = d3.select("svg"); | |
var circles = svgContainer.selectAll() | |
.data(tributary.dat) | |
.enter() | |
.append("circle").attr( | |
{fill:"purple", | |
cx:function(x){return x}, | |
cy:function(x){return x}, | |
r:35}) | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment