View LittlebitsWebSocket.cs
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
using UnityEngine; | |
using System.Collections; | |
using System; | |
using System.Security.Policy; | |
using System.Threading; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using WebSocketSharp; | |
using WebSocketSharp.Net; |
View MindControlledBB8Droid
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 Cylon = require('cylon'); | |
var Barcli = require("barcli"); | |
var attentionGraph = new Barcli({ | |
label: "attention Graph", | |
range: [0, 100], | |
}); | |
var apiKey = '<Your API Key>'; | |
var IFTTTMaker = require('iftttmaker')(apiKey); | |
var trigger_on = 'MindControlTrigger_On'; |
View DinoController.cs
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
using UnityEngine; | |
using System.Collections; | |
public class DinoController : MonoBehaviour { | |
GameObject player; | |
// Use this for initialization | |
Vector3 initialPosition; | |
public float speed = 0.1F; | |
public AnimationClip idleAnimation01 ; |
View LittlebitsNode.cs
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
using UnityEngine; | |
using System.Collections; | |
using System; | |
using System.Security.Policy; | |
using System.Threading; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using WebSocketSharp; | |
using WebSocketSharp.Net; |
View broadcast-littlebits-ws.js
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 ws = require("nodejs-websocket") | |
// Scream server example: "hi" -> "HI!!!" | |
var server = ws.createServer(function (conn) { | |
console.log("New connection") | |
conn.on("text", function (str) { | |
console.log("Received "+str) | |
conn.sendText(str.toUpperCase()+"!!!") | |
}) | |
conn.on("close", function (code, reason) { |
View imu-udp.ino
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
// This #include statement was automatically added by the Particle IDE. | |
#include "Kalman/Kalman.h" | |
#include "SparkFunLSM9DS1/SparkFunLSM9DS1.h" | |
#include "math.h" | |
unsigned long lastRead= micros(); | |
char myIpAddress[24]; |
View UDPReceiverSaber.cs
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
// ------------------------------------------------------------------------------ | |
/* | |
----------------------- | |
UDP-Receive (send to) | |
----------------------- | |
// [url]http://msdn.microsoft.com/de-de/library/bb979228.aspx#ID0E3BAC[/url] | |
// > receive | |
// 127.0.0.1 : 8051 |
View LittlebitsWebSocket.cs
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
using UnityEngine; | |
using System.Collections; | |
using System; | |
using System.Security.Policy; | |
using System.Threading; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using WebSocketSharp; | |
using WebSocketSharp.Net; |
View PhotonWS.cs
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
using UnityEngine; | |
using System.Collections; | |
using System; | |
using System.Security.Policy; | |
using System.Threading; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using System.Collections.Generic; | |
using System.Net.Sockets; |
View CM_RandomEyesBroadcastEventTester.cs
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
using UnityEngine; | |
using System.Collections; | |
using CrazyMinnow.SALSA; // Import SALSA from the CrazyMinnow namespace | |
/* | |
Script usage instructions | |
This class demonstrates the use of the RandomEyes 2D/3D [Broadcast Eye Events], | |
and the RandomEyes 3D [Broadcast Custom Shape Events], to catch |
OlderNewer