https://github.com/toomanybees/ofglitch
oh man, dance party incoming
https://github.com/toomanybees/ofglitch
Last synced: about 2 months ago
JSON representation
oh man, dance party incoming
- Host: GitHub
- URL: https://github.com/toomanybees/ofglitch
- Owner: TooManyBees
- Created: 2017-10-08T01:53:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-10T17:49:46.000Z (almost 4 years ago)
- Last Synced: 2026-02-12T09:54:14.759Z (4 months ago)
- Language: C++
- Homepage:
- Size: 278 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# i named this poorly *again*
A reimplimentation of [glitch](https://github.com/TooManyBees/glitch) written in
[openFrameworks](https://openframeworks.cc) instead of Processing.
It's significantly faster, but that's more because this version uses shaders to
compose the effects rather than arrays of RGB values. (For the life of me I
can not make sense of Processing's shader API, and I'm okay never knowing.)
Built with Visual Studio 2015.
## Setup
Get yourself a camera with a Primesense Carmine (PS1080) SoC (like the *Asus
Xtion* or *XBox Kinect*) and install OpenNI2 and NiTE2. NiTE2 is tragically
proprietary, so it can't be built for targets it doesn't already exist for, like
ARM processors.
Copy three external files/folders into the project's `bin` folder:
* `OpenNI2.dll` (or `libOpenNI2.dylib`, etc.) from `$openni2_location/Redist`
* `NiTE2.dll` (or `libNiTE2.dylib`, etc.) from `$nite2_location/Redist`
* the `NiTE2` folder from `$nite2_location/Redist/NiTE2`
## Usage
Starting the app brings up the output window as well as a second smaller window
with controls on it for tweaking settings. The control window can be closed
without breaking the appm, and all of the controls have their own hotkeys.
### Layers
* Show Video (**V**) Toggles color video stream. When off, the background is
black.
* Threshold Video (**T**) Applies a threshold to the color video to reduce it to
single-bit black and white color. Additionally, masks the color stream to
only display detected users.
* Show Rainbows (**R**) Toggles the rainbows. (But why 🌈)
* Show Buffer (**B**) Instead of displaying the composited video result, display
only the contents of the buffer that stores the "glitch" effect.
### Levels
* Rainbows (**Up Arrow**, **Down Arrow**) adjusts the strength of the rainbow
effect.
* Threshold (**Left Arrow**, **Right Arrow**) adjusts the threshold boundary.
### Misc (these don't have their own GUI controls)
* Fullscreen (**F**) Toggles the video window in and out of fullscreen.
* Record (**Return**) Toggles recording frames as bitmaps. Each recording
"session" has its own separate folder.