Webcam monitored fish tank addition that causes color change depending on Macintosh the fish's location.
orthographic projections . thumbs up emoji.
Stream interaction & input.
STREAM! GET IT! BECAUSE ITS FOR A FISH :D
- Install node.js and npm
- Clone files to computer - https://github.com/hzoo/TwitchPlaysX/archive/master.zip
- Node packages from command line npm install
in folder (irc, printf)
- Install python - http://www.python.org/download/releases/2.7.6/ (make sure python is on PATH)
- Install python win32 package - http://sourceforge.net/projects/pywin32/files/pywin32/
OpenCV : https://opencv.org/
For the Neopixels:
Potential code;
Fader - https://learn.adafruit.com/multi-tasking-the-arduino-part-3/fader
// Initialize for a Fade
void Fade(uint32_t color1, uint32_t color2, uint16_t steps, uint8_t interval, direction dir = FORWARD)
{
ActivePattern = FADE;
Interval = interval;
TotalSteps = steps;
Color1 = color1;
Color2 = color2;
Index = 0;
Direction = dir;
}
This should help make the transitions nice and smooth when Macintosh is moving between quadrants. Fast transitions = jarring = scared fishy.
References:
NeoPixel UberGuide:
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-neopixel-uberguide.pdf
Goldfish were trained within a month. It was crazy. There were two goldfish and one of them trained the other to go thru the hoop while the other swam quickly to get the food ;)
Hi Amanda! What does this project do for fish? I want to know more!
I made a fish circus where fish are trained to swim through hoops: https://www.youtube.com/watch?v=vrKUW1KK61E
Im going to hook up neopixels and a webcam to track her movement, so depending on which part of the tank she is in the neopixels will change colors :)
And that is SO cool! I printed a little hoop for Macintosh but she was pretty apathetic towards it. Is that 3D printed shark teeth or real ones? (Either way I am jealous it looks awesome...!) How long did it take to train the goldfish?
That is such a great vid! I love that the loop looks like shark's teeth! XD
Yeah! Real shark teeth!