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
var d3 = require('d3'); | |
var inherits = require('inherits'); | |
var margin = { | |
top: 20, | |
right: 20, | |
bottom: 20, | |
left: 45 | |
}; |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var svg = d3.select("body").append("svg") | |
.attr("width", 960) | |
.attr("height", 500); |
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
// modified from http://oos.moxiecode.com/js_webgl/dna/ | |
var THREE = require('three.js'); | |
var ThreeTest = function(selector, data, images, opts) { | |
var container; | |
var camera, scene, renderer, composer; |
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
var THREE = require('three.js'); | |
var _ = require('lodash'); | |
var ParticleTest = function(selector, data, images, opts) { | |
var width = $(selector).width(); | |
var height = width * 0.7; | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns | |
http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"> | |
<key id="x" for="node" attr.name="x" attr.type="double"/> | |
<key id="tooltip" for="node" attr.name="tooltip" attr.type="string"/> | |
<key id="y" for="node" attr.name="y" attr.type="double"/> |
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
// export as a Node module, an AMD module or a global browser variable | |
if (typeof module !== 'undefined') { | |
module.exports = myModule; | |
} else if (typeof define === 'function' && define.amd) { | |
define(function() { | |
return myModule; | |
}); |
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
var d3 = require('d3'); | |
var _ = require('lodash'); | |
var utils = require('lightning-client-utils'); | |
var simplify = require('simplify-js'); | |
var margin = { | |
top: 40, | |
right: 10, | |
bottom: 20, | |
left: 10 |
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
from sets import Set | |
setMap = { | |
'aele': Set(), | |
'fscu': Set(), | |
'mcav': Set(), | |
'shys': Set() | |
} |
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
var THREE = require('three.js'); | |
var _ = require('lodash'); | |
var ParticleTest = function(selector, data, images, opts) { | |
var width = $(selector).width(); | |
var height = width * 0.7; | |
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
int ledStripRanges[19][2][2] = { | |
{ | |
{900, 1018}, {600, 715} | |
},{ | |
{1018, 1135}, {715, 828} | |
},{ | |
{1135, 1200}, {828, 900} | |
},{ |