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
#pragma once | |
#include <stdint.h> | |
namespace ofxSquashBuddies { | |
struct Packet { | |
enum { | |
PacketSize = 4096, | |
HeaderSize = 9, | |
MaxPayloadSize = PacketSize - HeaderSize |
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
#version 150 | |
uniform sampler2DRect tex0; | |
in vec2 texCoordVarying; | |
out vec4 outputColor; | |
uniform float minimum; | |
uniform float maximum; |
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
#include "SoundEffects.h" | |
//---------- | |
void SoundEffects::audioOut(ofSoundBuffer & out) { | |
auto numFrames = out.getNumFrames(); | |
const auto interval = this->getInterval(); | |
const auto intervalFrames = 44100 * interval; | |
for(int i=0; i<numFrames; i++) { | |
out[i * 2 + 0] = 0.0f; |
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
#region usings | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.ComponentModel.Composition; | |
using VVVV.PluginInterfaces.V1; | |
using VVVV.PluginInterfaces.V2; |
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
const int output = 13; | |
const int highDuration = 50; | |
const int lowDuration = 30; | |
void setup() { | |
pinMode(output, OUTPUT); | |
Serial.begin(9600); | |
} |
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
2>..\..\..\openFrameworks\3d\of3dPrimitives.cpp(149): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\of3dPrimitives.cpp(153): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\ofMesh.cpp(757): warning C4267: 'initializing': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\ofMesh.cpp(1049): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\ofMesh.cpp(1064): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\ofMesh.cpp(1071): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\ofMesh.cpp(1084): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
2>..\..\..\openFrameworks\3d\ofMes |
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
#include "MyTestNode.h" | |
#include "ofxDigitalEmulsion/Item/Board.h" | |
using namespace ofxDigitalEmulsion; | |
//---------- | |
MyTestNode::MyTestNode() { | |
OFXDIGITALEMULSION_NODE_INIT_LISTENER; | |
} |
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
CREATE DATABASE IF NOT EXISTS `link` /*!40100 DEFAULT CHARACTER SET latin1 */; | |
USE `link`; | |
-- MySQL dump 10.13 Distrib 5.6.17, for Win32 (x86) | |
-- | |
-- Host: localhost Database: link | |
-- ------------------------------------------------------ | |
-- Server version 5.6.20 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
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
#include "ofApp.h" | |
using namespace ofxAssets; | |
//-------------------------------------------------------------- | |
void ofApp::setup2(){ | |
ofSetWindowTitle("Digital Emulsion Toolkit v0.1"); | |
ofSetCircleResolution(120); | |
splashScreen.init("splashScreen.png"); |
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
#include "ofApp.h" | |
using namespace ofxCv; | |
using namespace cv; | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
this->image.loadImage("/Users/elliot/Desktop/5x7.jpg"); | |
this->paramThreshold = 100; |