feat: 4 new bg modes (pulse/stars/rain/rays), vivid orbs & aurora

Orbs: bigger radius, opacity 0.14+, 4th orb added.
Aurora: 6 bands with opacity 0.22+, more movement.
New: Пульс (expanding rings on beat), Звёзды (twinkling starfield),
Дождь (falling streaks), Лучи (rotating sunburst rays).
Settings page shows 9 bg options with static SVG previews.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-25 20:41:35 +03:00
parent 51a6de31a2
commit 292117cf56
3 changed files with 331 additions and 171 deletions

View File

@@ -2,7 +2,7 @@
import { create } from 'zustand'
export type BgMode = 'orbs' | 'waves' | 'particles' | 'aurora' | 'none'
export type BgMode = 'orbs' | 'waves' | 'particles' | 'aurora' | 'pulse' | 'stars' | 'rain' | 'rays' | 'none'
export interface BgPreset {
id: BgMode
@@ -11,10 +11,14 @@ export interface BgPreset {
}
export const BG_PRESETS: BgPreset[] = [
{ id: 'orbs', name: 'Орбы', desc: 'Мягкие цветовые пятна' },
{ id: 'waves', name: 'Волны', desc: 'Звуковые волны снизу' },
{ id: 'particles', name: 'Частицы', desc: 'Плавающая сеть точек' },
{ id: 'orbs', name: 'Орбы', desc: 'Цветовые пятна' },
{ id: 'waves', name: 'Волны', desc: 'Звуковые волны' },
{ id: 'particles', name: 'Частицы', desc: 'Сеть точек' },
{ id: 'aurora', name: 'Аврора', desc: 'Северное сияние' },
{ id: 'pulse', name: 'Пульс', desc: 'Расходящиеся кольца' },
{ id: 'stars', name: 'Звёзды', desc: 'Звёздное небо' },
{ id: 'rain', name: 'Дождь', desc: 'Световые капли' },
{ id: 'rays', name: 'Лучи', desc: 'Лучи из центра' },
{ id: 'none', name: 'Нет', desc: 'Чистый фон' },
]