[ Launch: triangle geom solid ] 6800415 by ptvans
-
-
Save ptvans/6800415 to your computer and use it in GitHub Desktop.
triangle geom solid
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
{"description":"triangle geom solid","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"thumbnail":"http://i.imgur.com/XGFCMFr.png"} |
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 svg = d3.select("svg") | |
tributary.duration = 2000; | |
var r = tributary.anim(10,20); | |
var dx = 20; | |
var dy = 20; | |
var n = 10; | |
var rows = 2; | |
var side = 100; | |
svg.append("circle") | |
.attr({ | |
cx: dx, | |
cy: dy, | |
r: r, | |
fill: "red" | |
}) | |
svg.append("polygon") | |
.attr({ | |
points: "200,10 250,190 160,210", | |
fill: "red" | |
}) | |
function triangle(side){ | |
var top = { | |
x: side/2, | |
y: 0} | |
var right = { | |
x: 10, | |
y: 10} | |
var left = {} | |
} | |
var grid = svg.append("group") | |
.attr({ | |
id: "grid" | |
}) | |
function gridlayout (n, rows, dx, dy) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment