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 "ofApp.h" | |
//pointer and video variable info | |
int vidX = 320; | |
int vidY = 240; | |
int pointerX = 0; | |
int pointerY = 0; | |
int pointerRad = 20; | |
//array for images |
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 "ofApp.h" | |
int vidX = 320; | |
int vidY = 240; | |
int pointerX = 0; | |
int pointerY = 0; | |
int pointerRad = 20; | |
int i = 0; | |
//used within _i |
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
// | |
// Circle.cpp | |
// Perspective_Landscape | |
// | |
// Created by Ana Sofia Remis on 4/18/16. | |
// | |
// | |
#include "Circle.hpp" | |
#include "ofMain.h" |
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 "FastLED.h" | |
#define DATA_PIN 5 | |
#define CLOCK_PIN 6 | |
#define LED_TYPE DOTSTAR | |
#define COLOR_ORDER GRB | |
#define NUM_LEDS 15 | |
CRGB leds[NUM_LEDS]; | |
//#define BRIGHTNESS 96 |
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 "FastLED.h" | |
// How many leds in your strip? | |
#define NUM_LEDS 15 | |
// For led chips like Neopixels, which have a data line, ground, and power, you just | |
// need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, | |
// ground, and power), like the LPD8806, define both DATA_PIN and CLOCK_PIN | |
#define DATA_PIN 5 | |
#define CLOCK_PIN 6 |
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 "FastLED.h" | |
FASTLED_USING_NAMESPACE | |
// How many leds are in the strip? | |
#define NUM_LEDS 15 | |
// Data pin that led data will be written out over | |
#define DATA_PIN 6 |
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 sortfware to serial port communication | |
#include <SoftwareSerial.h> | |
#include <MP3.h> | |
//mug music. Ana Sofia Remis. March 2016 | |
//thanks to Bonnie Eisenman for the idea | |
//Michael Wolf for guidance along the way! | |
//Jess Herzog, Shane Cashman, & Mami for support | |
//Elechouse for the library at https://github.com/elechouse/Mp3Shield/blob/master/MP3.h | |
//TNS DT BFA Lab Midterm |
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 "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
ofSetBackgroundColor(208,120,13,90); | |
ofSetFrameRate(60); | |
ofSetCircleResolution(120); | |
counter = 0; | |
// me.circumference =8; |
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
// | |
// Forma.cpp | |
// midterm | |
// | |
// Created by Ana Sofia Remis on 3/26/16. | |
// | |
// | |
#include "Forma.hpp" | |
void Forma::formata(float diameter, float circumference, float angle, float size, float maxSize){ |
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
// | |
// Circle.cpp | |
// Cathairs | |
// | |
// Created by Ana Sofia Remis on 3/15/16. | |
// | |
// | |
#include "Circle.hpp" |
NewerOlder