Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Effects

Daan de Lange edited this page Jul 14, 2015 · 12 revisions

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.

Structure

  • Files
    Effects are stored in src/effects/myEffect.cpp together with its myEffect.h file. Subclasses/dependencies can be included in the same file or in separate files. Please name them according to your effect like src/effects/myEffectSubClass.cpp + myEffectSubClass.h
    If you effect needs data ressources, please store them in bin/data/effects/myEffect/
  • Code
    (todo)

Libraries

A list with some graphic libraries, sample code and techniques that could be included as effects for animation purposes:

Media Client + Server for video streaming

It would be awesome to be able to stream video to a RaspberryPi computer which you can tape to a video projector.

Clone this wiki locally