diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-05-30 20:26:13 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-05-30 20:26:13 +0200 |
| commit | 71031b57a14824f351797acc6629732dcae1bb17 (patch) | |
| tree | cd928c7009a80a4fa46049d40d2d9125ea56d126 /glava/radial.glsl | |
| parent | 6e8a3eddbff101effbc8a1e6b02a9e3afad3bfaa (diff) | |
add: addition of glava configs
Diffstat (limited to 'glava/radial.glsl')
| -rwxr-xr-x | glava/radial.glsl | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/glava/radial.glsl b/glava/radial.glsl new file mode 100755 index 0000000..4689be6 --- /dev/null +++ b/glava/radial.glsl @@ -0,0 +1,39 @@ + +/* center radius (pixels) */ +#define C_RADIUS 128 +/* center line thickness (pixels) */ +#define C_LINE 2 +/* outline color */ +#define OUTLINE #333333 +/* number of bars (use even values for best results) */ +#define NBARS 180 +/* width (in pixels) of each bar*/ +#define BAR_WIDTH 3.5 +/* outline color */ +#define BAR_OUTLINE OUTLINE +/* outline width (in pixels, set to 0 to disable outline drawing) */ +#define BAR_OUTLINE_WIDTH 0 +/* Amplify magnitude of the results each bar displays */ +#define AMPLIFY 300 +/* Bar color */ +#define COLOR (#cc3333 * ((d / 40) + 1)) +/* Angle (in radians) for how much to rotate the visualizer */ +#define ROTATE (PI / 2) +/* Whether to switch left/right audio buffers */ +#define INVERT 0 +/* Aliasing factors. Higher values mean more defined and jagged lines. + Note: aliasing does not have a notable impact on performance, but requires + `xroot` transparency to be enabled since it relies on alpha blending with + the background. */ +#define BAR_ALIAS_FACTOR 1.2 +#define C_ALIAS_FACTOR 1.8 +/* Offset (Y) of the visualization */ +#define CENTER_OFFSET_Y 0 +/* Offset (X) of the visualization */ +#define CENTER_OFFSET_X 0 + +/* Gravity step, override from `smooth_parameters.glsl` */ +#request setgravitystep 5.0 + +/* Smoothing factor, override from `smooth_parameters.glsl` */ +#request setsmoothfactor 0.02 |
