diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-18 07:15:39 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-18 07:15:39 +0100 |
| commit | c37c9459c78a03e2b69b29cbeb17075a19c0418f (patch) | |
| tree | cc9a5db7cd89459927fbea94c6cefc75379bd22d /src/gpu/shader_composer.h | |
| parent | 105c817021a84bfacffa1553d6bcd536808b9f23 (diff) | |
refactor(mq_editor): clean coordinate API and remove UI duplication
viewer.js:
- Add timeToX(), freqLogNorm(), normToFreq() coordinate primitives
- freqToY/canvasToFreq now delegate to freqLogNorm/normToFreq
- normalizeDB() replaces duplicated (magDB-(maxDB-80))/80 formula
- partialColor(p) replaces repeated color array
- All inline time/freq→pixel math replaced with API calls
index.html:
- getKeepCount() replaces 3 copies of the same calculation
- playAudioBuffer() replaces duplicated playback setup + RAF loop
handoff(Claude): refactor complete
Diffstat (limited to 'src/gpu/shader_composer.h')
0 files changed, 0 insertions, 0 deletions
