Skip to content

LaboratorioDeMedios/ofxPostGlitch_nimp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ofxPostGlitch

This add-on applies a glitch effect to the FBO using openFrameworks.
We recommend using openFrameworks v0073 or later.

Usage :

You need at least two classes 'ofFbo' and 'ofxPostGlitch' to use it.

ofFbo myFbo;
ofxPostGlitch myGlitch;

In the Setup(), you should give FBO's pointer to ofxPostGlitch instance. Then allocate the FBO.

void testApp::setup(){
	myFbo.allocate(640,480);
	myGlitch.setup(&myFbo);
}

Choose wether to apply effect or not with the setFX function. After that use generateFX function and apply all enabled effects.

void testApp::update(){
	myGlitch.setFx(OFXPOSTGLITCH_CONVERGENCE,true);
}

void testApp::draw(){
	myGlitch.generateFx();
	myFbo.draw(0,0);
}

More details can be found in the example project file.

Glitch FXs

  • Convergence
  • Glow
  • Shaker
  • Cutslider
  • Twist
  • Outline
  • Noise
  • Slitscan
  • Swell
  • Invert

Color remap FXs

  • Highcontrast
  • Blueraise
  • Redraise
  • Greenraise
  • Blueinvert
  • Redinvert
  • Greeninvert

Developer info

maxilla inc. http://maxilla.jp

maxilla cult http://cult.maxilla.jp

About

Apply glitch effects with openFrameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GLSL 74.7%
  • C++ 25.3%