aboutsummaryrefslogtreecommitdiff
path: root/.config/glava/radial.glsl
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-09 22:58:54 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-09 22:58:54 +0530
commit0328f56c5986de5f058dff0c14a68b54c1890908 (patch)
treeb2a1bd5c4d29f06de08d750fd6caa06ae2a8475c /.config/glava/radial.glsl
parent585150d98982240de738954af8f85859b5631372 (diff)
pushing glava config
Diffstat (limited to '.config/glava/radial.glsl')
-rwxr-xr-x.config/glava/radial.glsl39
1 files changed, 39 insertions, 0 deletions
diff --git a/.config/glava/radial.glsl b/.config/glava/radial.glsl
new file mode 100755
index 0000000..a5b966c
--- /dev/null
+++ b/.config/glava/radial.glsl
@@ -0,0 +1,39 @@
+
+/* center radius (pixels) */
+#define C_RADIUS 128
+/* center line thickness (pixels) */
+#define C_LINE 1
+/* outline color */
+#define OUTLINE #ffffff
+/* number of bars (use even values for best results) */
+#define NBARS 200
+/* width (in pixels) of each bar*/
+#define BAR_WIDTH 8
+/* 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 (#9400ff * ((d / 128) + 0.6))
+/* Angle (in radians) for how much to rotate the visualizer */
+#define ROTATE (0)
+/* 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 100
+#define C_ALIAS_FACTOR 1
+/* Offset (Y) of the visualization */
+#define CENTER_OFFSET_Y 290
+/* Offset (X) of the visualization */
+#define CENTER_OFFSET_X 690
+
+/* Gravity step, override from `smooth_parameters.glsl` */
+#request setgravitystep 8
+
+/* Smoothing factor, override from `smooth_parameters.glsl` */
+#request setsmoothfactor 0.03