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
!function(){ | |
var gradPie={}; | |
var pie = d3.layout.pie().sort(null).value(function(d) {return d.value;}); | |
createGradients = function(defs, colors, r){ | |
var gradient = defs.selectAll('.gradient') | |
.data(colors).enter().append("radialGradient") | |
.attr("id", function(d,i){return "gradient" + i;}) | |
.attr("gradientUnits", "userSpaceOnUse") |
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> | |
<meta charset="utf-8"> | |
<style> | |
circle{ | |
fill:#e0e0e0; | |
} | |
</style> | |
<body> | |
<section style="display:block;"> | |
Design: <select onchange="changeArt(this)"></select> |
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 games ={// list of sample games. | |
Planes:(function(){ | |
var r = [ | |
[ , , , , , , , , ,1, , , , , , , , , , , , , , , , , , , , , , , , , , ,0], | |
[ , , , , , , ,1, ,1, , , , , , , , , , , , , , , , , , , , , , , , , , ,0], | |
[ , , , , , ,1, ,1, , , , , , , , , , , , , , , , , ,1, , , , , , , , , ,0], | |
[1,1, , , , 1, , ,1, , , , , , , , , , , , , , , , , 1,1, , , , , , , , , ,0], | |
[1,1, , , , ,1, ,1, , , , , , , , , , , , , , , ,1, 1, , , , , 1,1, , , , ,0], | |
[ , , , , , , ,1, ,1, , , , , , , , , , , , , ,1,1, 1, , , , , 1,1, , ,1, 1,0], | |
[ , , , , , , , , ,1, , , , , , , , , , , , , , ,1, 1, , , , , 1,1, , ,1, 1,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> | |
<meta charset="utf-8"> | |
<style> | |
circle{ | |
fill:#DE3D71; | |
} | |
rect{ | |
stroke:none; | |
} | |
line{ |
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
license: gpl-3.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
license: gpl-3.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
license: gpl-3.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
license: gpl-3.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
license: gpl-3.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
license: gpl-3.0 |
OlderNewer