-
Notifications
You must be signed in to change notification settings - Fork 7
Effects
An basicEffect
instance is bound to at least 1 basicShape
instance and is controlled by the AnimationController
which also passes it some environment variables (todo).
They can also #include
to other components such as the musicAnalyser
so you can make them react to music or you could even connect them to physical devices or any real-world data input.
Please keep performance and optimisation in mind and prefer to do computing power consuming tasks in the GPU so it doesn't affect the main program performance too much.
Feel free to include or not your custom effects. The ones included in the repository serve for examples and sample.
Note:
This post about "equalizer" rendering might be interesting.
-
Files
Effects are stored insrc/effects/myEffect.cpp
together with itsmyEffect.h
file. Subclasses/dependencies can be included in the same file or in separate files. Please name them according to your effect likesrc/effects/myEffectSubClass.cpp
+myEffectSubClass.h
If you effect needs data ressources, please store them inbin/data/effects/myEffect/
-
Code
(todo)
A list with some graphic libraries, sample code and techniques that could be included as effects for animation purposes:
- SuperFormula (article, music video demonstration, another animation, OF SuperFormula 3D implementation, a 2D shader based of implementation)
- Celular Automata
- Lissajous Waves reacting to sound (explanation) (Another beautiful one)
- Animus Visualiser (video)
- Some libraries from Neil Mendoza (ofxPostProcessing, etc.)
It would be awesome to be able to stream video to a RaspberryPi computer which you can tape to a video projector.