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
0.000000, 0.000000, 0.000000, 143.178210, 143.178210 | |
0.000000, 0.005000, 0.007071, 143.178210, 143.184160 | |
0.000000, 0.010000, 0.014142, 143.178210, 143.190080 | |
0.000000, 0.015000, 0.021213, 143.178210, 143.196010 | |
nan, 0.020000, 0.028284, 143.178210, 143.201970 | |
nan, 0.025000, 0.035355, 143.178210, 143.207890 | |
nan, 0.030000, 0.042426, 143.178210, 143.213840 | |
0.000488, 0.035000, 0.049497, 143.178210, 143.219770 | |
0.000488, 0.040000, 0.056569, 143.178210, 143.225710 | |
0.000000, 0.045000, 0.063640, 143.178210, 143.231640 |
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 five = require("johnny-five"); | |
var ws = new (require('ws'))('ws://localhost:6437'); | |
ws.on('open', console.log.bind(console, 'connected')); | |
ws.on('error', console.log.bind(console, 'ERROR:')); | |
(new five.Board()).on("ready", function() { | |
var servo = new five.Servo(11); | |
ws.on('message', function(data) { |
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 canvas = document.getElementById('canvas'); | |
var ctx = canvas.getContext('2d'); | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
ctx.fillStyle = "black"; | |
ctx.fillRect(0, 0, canvas.width, canvas.height); | |
function source(fn) { | |
canvas.addEventListener('mousemove', fn); |
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 ValueReference(src, dest, forward) { | |
if (!forward) { | |
this.src = src; | |
this.dest = dest; | |
} else { | |
this.src = dest; | |
this.dest = src; | |
} | |
this.operations = []; |
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
" Vim color file - tmpvar | |
" Generated by http://bytefluent.com/vivify 2013-09-18 | |
set background=dark | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif |
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
" Vim color file - tmpvar | |
" Generated by http://bytefluent.com/vivify 2013-09-18 | |
set background=dark | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif |
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
" Vim color file - tmpvar | |
" Generated by http://bytefluent.com/vivify 2013-09-18 | |
set background=dark | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif |
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
#!/usr/bin/env node | |
if (process.argv.length < 4) { | |
return console.log('usage: togif 25 path/to/files/*.jpg path/to/output.gif'); | |
} | |
// node expands *.jpg | |
var images = process.argv.slice(2); | |
var delay = images.shift(); |
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
#!/usr/bin/env node | |
if (process.argv.length < 4) { | |
return console.log('usage: togif 25 path/to/files/*.jpg path/to/output.gif'); | |
} | |
// node expands *.jpg | |
var images = process.argv.slice(2); | |
var delay = images.shift(); |
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
#!/usr/bin/env node | |
if (process.argv.length < 4) { | |
return console.log('usage: togif 25 path/to/files/*.jpg path/to/output.gif'); | |
} | |
// node expands *.jpg | |
var images = process.argv.slice(2); | |
var delay = images.shift(); |