Skip to content
Nokkvi

Visualizer Reference

Nokkvi features a custom-built, hardware-accelerated visualizer powered by PipeWire and WGSL shaders. This reference explains the various modes and color mapping strategies available in config.toml.

The bars mode renders frequency data as vertical columns. It is highly configurable with various gradient and peak behaviors.

Controls how colors from your theme’s palette are mapped onto the bars.

ModeDescription
staticStatic Height. The gradient is fixed to the background. Bars “reveal” higher colors as they rise.
waveStretched Gradient. The full gradient is compressed/stretched to fit the current height of each bar.
shimmerAnimated Solid. Each bar is a single color, but the entire visualizer cycles through colors over time and music energy.
energyLoudness Offset. The gradient position shifts rapidly based on the instantaneous volume of the track.
alternateTwo-Tone. Bars oscillate between the first two colors of the palette in a rhythmic pattern.

Determines the axis along which gradient colors are applied.

  • vertical: Colors map from the bottom of the visualizer to the top.
  • horizontal: Colors map from the low frequencies (left) to high frequencies (right).

Peaks are small indicators that mark the highest point reached by a bar.

ModeDescription
nonePeaks are disabled.
fadePeaks hold for a duration, then fade out in their current position.
fallPeaks hold, then drop at a constant velocity.
fall_accelPeaks hold, then fall with simulated gravity (acceleration).
fall_fadePeaks fall at a constant velocity while simultaneously fading out.

Controls the coloring of the peak indicators.

  • static: Uses only the first color defined in peak_gradient_colors.
  • cycle: Smoothly cycles through all peak colors over time (breathing effect).
  • height: Color is determined by the peak’s vertical position.
  • match: The peak always matches the color of the bar at that specific height.

The lines mode renders frequency data as a continuous path (oscilloscope style).

  • smooth: Uses Catmull-Rom spline interpolation for a liquid, organic look.
  • angular: Uses direct point-to-point lines for a sharper, technical look.
ModeDescription
breathingThe entire line cycles through the palette over time.
staticThe line stays a single solid color (the first in the palette).
positionColors are mapped from left (bass) to right (treble).
heightColors are mapped based on amplitude (quiet = bottom colors, loud = top colors).
gradientA vertical gradient is applied to the line path.

Nokkvi provides two mutually exclusive smoothing algorithms to tailor the visualizer’s response.

An exponential falloff effect that spreads energy to neighboring bars, creating a “bouncy” and connected look.

  • Key: visualizer.monstercat
  • Value: 0.7 to 1.0 (higher = more spread). Values below 0.7 snap to 0.0 (disabled).

Applies spline interpolation between bars to create a smooth, wave-like silhouette.