mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-17 07:25:16 +00:00
Add a "Rainbows" group to the built-in Gradients panel with five presets: Rainbow, Pastel Rainbow, Neon Rainbow, Oil Slick and Rainbow Fade. The three hue ramps sample 13 evenly spaced hues (red 0 deg to magenta 300 deg) so the transitions are smooth rather than the seven coarse ROYGBIV points; Rainbow Fade reuses the classic ramp with transparent ends. All colours are original (clean-room). Covered by a new engine test, presets::tests::rainbow_gradient_presets.