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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://d3js.org/d3.v2.min.js"></script> | |
</head> | |
<body></body> | |
</html> | |
<script type="text/javascript"> | |
var svg = d3.select("body").append("svg") |
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
gistup |
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
<!DOCTYPE html> | |
<body> | |
<script src="http://d3js.org/d3.v3.js"></script> | |
<script type="text/javascript"> | |
var angle = Math.PI/3.0; | |
var tWidth = 25.0; | |
var tHeight = 25.0*Math.tan(angle); |
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
<!DOCTYPE html> | |
<body> | |
<script src="http://d3js.org/d3.v3.js"></script> | |
<script type="text/javascript"> | |
function Point(x,y) { | |
this.x = x || 0; |
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
<!DOCTYPE html> | |
<body> | |
<script src="http://d3js.org/d3.v3.js"></script> | |
<script type="text/javascript"> | |
function Point(x,y) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Path Editing</title> | |
<link rel="stylesheet" href="../css/style.css"> | |
<script type="text/javascript" src="../../dist/paper-full.js"></script> | |
<script type="text/paperscript" canvas="canvas"> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Path Editing</title> | |
<link rel="stylesheet" href="../css/style.css"> | |
<script type="text/javascript" src="../../dist/paper-full.js"></script> | |
<script type="text/paperscript" canvas="canvas"> | |