mirror of
https://codeberg.org/armin/beamgrid.git
synced 2026-09-01 04:10:47 +02:00
Add 3D gradient angle customization; add screenshots
This commit is contained in:
parent
aeb4b83281
commit
8b963ae50c
4 changed files with 7 additions and 3 deletions
|
|
@ -3,6 +3,10 @@
|
||||||
A JUCE-based VST3 / AU spectrum analyzer with a fully black UI, teal accents,
|
A JUCE-based VST3 / AU spectrum analyzer with a fully black UI, teal accents,
|
||||||
and a configurable display.
|
and a configurable display.
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Three display modes** (`MODE` knob):
|
- **Three display modes** (`MODE` knob):
|
||||||
|
|
|
||||||
|
|
@ -380,9 +380,9 @@ private:
|
||||||
|
|
||||||
if (b < litCount)
|
if (b < litCount)
|
||||||
{
|
{
|
||||||
const float frac = (b + 0.5f) / static_cast<float> (leds);
|
// Flat base colour; the 3D knob (fill3D) is the only source
|
||||||
const juce::Colour base = lf.getTeal().withMultipliedBrightness (0.35f + 0.65f * frac);
|
// of shading so LEDs stay solid until 3D is turned up.
|
||||||
fill3D (g, base, juce::Rectangle<float> (x, blockTop, bandWidth, blockLen), radius, depthAmount);
|
fill3D (g, lf.getTeal(), juce::Rectangle<float> (x, blockTop, bandWidth, blockLen), radius, depthAmount);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Peak honours the same discrete blocks: draw the peak block in the
|
// Peak honours the same discrete blocks: draw the peak block in the
|
||||||
|
|
|
||||||
BIN
beamgrid01.png
Normal file
BIN
beamgrid01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
BIN
beamgrid02.png
Normal file
BIN
beamgrid02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 182 KiB |
Loading…
Add table
Add a link
Reference in a new issue