[ Launch: Animation ] 5995280 by RobinL
[ Launch: Animation ] 5995226 by RobinL
[ Launch: No animation ] 5995218 by RobinL
[ Launch: No animation ] 5995207 by RobinL
-
-
Save RobinL/5995280 to your computer and use it in GitHub Desktop.
Animation
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
{"description":"Animation","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.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 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
svg = d3.select("svg"); | |
a = d3.range(1,1000,1); | |
b = svg.selectAll("rect").data(a); | |
b.enter() | |
.append("rect") | |
.attr({ | |
y:10, | |
height:10, | |
width: 10}) | |
.attr("x",function(d) { | |
return d/5; | |
}) | |
b.attr("y",function(d) { | |
return d/5; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment