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
flock.init(); | |
var as = flock.enviro.shared.audioStrategy; | |
// Create the new gain node and set some parameters on it. | |
var compressor = as.context.createDynamicsCompressor(); | |
// Connect the Flocking jsNode up to it. | |
as.jsNode.connect(compressor); |
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
#include <OSCMessage.h> | |
#if defined(CORE_TEENSY) | |
#include <SLIPEncodedUSBSerial.h> | |
#else | |
#include <SLIPEncodedSerial.h> | |
#endif | |
#if defined(CORE_TEENSY) |
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 fluid = require("infusion"), | |
loader = fluid.getLoader(__dirname), | |
flock = require(__dirname + "/../index.js"); | |
var midi = require('midi'); | |
// Set up a new input. | |
var input = new midi.input(); | |
console.log(input.getPortCount()); | |
//console.log(input.getPortName(1)); |
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 fluid = require("infusion"), | |
loader = fluid.getLoader(__dirname), | |
flock = require(__dirname + "/../index.js"); | |
var midi = require('midi'); | |
// Set up a new input. | |
var input = new midi.input(); | |
// // Count the available input ports. | |
console.log(input.getPortCount()); | |
// // Get the name of a specified input port. |
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
<html> | |
<head> | |
<script src="flocking-all.min.js"></script> | |
</head> | |
<body> | |
<div> | |
<canvas id="xy1" style="border:1px solid #000000;border-radius:10px;"></canvas> | |
<canvas id="xy2" style="border:1px solid #000000;border-radius:10px;"></canvas> | |
</div> | |
<script> |
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> | |
<title>Multitouch</title> | |
<script type="text/javascript" src="flocking-all.min.js"></script> | |
<script type="text/javascript" src="nexusUI.js"></script> | |
<script> | |
nx.onload = function() { | |
nx.setTransmissionProtocol("local"); |
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 Component() { | |
this.shouldrotate = false; | |
this.walkspeed = 0.001; | |
} | |
Component.prototype = new VAPI.VeroldComponent(); | |
Component.prototype.init = function() { | |
this.events.on("goaway", this.gotpicked, this); |
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 $ = require('jquery'); | |
function Component() { | |
this.shouldrotate = false; | |
} | |
Component.prototype = new VAPI.VeroldComponent(); | |
/** | |
* Called as soon as the VeroldEntity begins to load. |
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
<html> | |
<head> | |
<style> | |
body { background-color: #CC3366 } | |
</style> | |
</head> | |
<body> | |
jkjalfaldjflkajsdfklajsdfklajflkjasdfkljadlkfjdsklfjsl | |
<div id="mousex"></div> |
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
<html> | |
<head> | |
<style> | |
body { background-color: #CC3366 } | |
</style> | |
</head> | |
<body> | |
jkjalfaldjflkajsdfklajsdfklajflkjasdfkljadlkfjdsklfjsl | |
<div id="mousex"></div> |
OlderNewer