List of all members.
Detailed Description
Generates bubbles based on sound. Requires GLGraphics render mode.
- Author:
- christopher
Constructor & Destructor Documentation
pav::lib::visualizer::Bubbles::Bubbles |
( |
|
) |
[inline] |
Member Function Documentation
void pav::lib::visualizer::Bubbles::dispose |
( |
|
) |
[inline] |
Disposes this visualizer, releasing all resources that were used exclusively by this visualiter. Subsequent calls to any methods of the visualizer might cause exceptions.
Implements pav::lib::visualizer::Visualizer.
void pav::lib::visualizer::Bubbles::drawTo |
( |
PApplet |
applet |
) |
throws PAVException [inline] |
void pav::lib::visualizer::Bubbles::process |
( |
|
) |
throws PAVException [inline] |
void pav::lib::visualizer::Bubbles::setBubbleSize |
( |
float |
min, |
|
|
float |
max | |
|
) |
| | [inline] |
Sets the minimum and maximum size of the bubbles. The values are relative, f.i. 0.2 means 0.2 times display area width.
- Parameters:
-
| min | The minimum bubble size. Must be positive |
| max | The maximum bubble size. Must be > min |
void pav::lib::visualizer::Bubbles::setDarkenFactor |
( |
float |
factor |
) |
[inline] |
Sets the darken factor. This factor will influence how fast drawn bubbles will disappear.
Fitting values are based on many variables, mainly on the spawn rate (see setSpawnRateTargets()). Default is 12.
- Parameters:
-
| factor | The darken factor. Must be positive |
void pav::lib::visualizer::Bubbles::setSpawnRate |
( |
float |
min, |
|
|
float |
max | |
|
) |
| | [inline] |
Sets the spawn rate. The visualization will try to spawn at least min bubbles and at the most max bubbles per call to process().
- Parameters:
-
| min | The min number of bubbles to spawn. Must be > 0 |
| max | The max number of bubbles to spawn. Must be > min |
String pav::lib::visualizer::Bubbles::toString |
( |
|
) |
[inline] |
void pav::lib::visualizer::Bubbles::useBloom |
( |
boolean |
bloom |
) |
[inline] |
Whether to use a bloom postprocessing filter.
- Parameters:
-
| bloom | Whether to use bloom postprocessing |
The documentation for this class was generated from the following file:
- src/pav/lib/visualizer/Bubbles.java