From c384515c8ea933757c97886c3bf1554e2fd62b04 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 10:34:15 +0100 Subject: feat(visuals): Add rotation, color shifts, and improved beat-sync Implements a more dynamic and reactive visual system. - Updated synth.cc: Faster peak decay for better response. - Updated gpu.cc: Added time-based rotation and Hue shifting; implemented reactive clear-color flashes. - Updated main.cc: Corrected peak scaling (8x multiplier) and integrated time-based animation. --- src/gpu/gpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/gpu.h') diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h index 028b31b..00f5450 100644 --- a/src/gpu/gpu.h +++ b/src/gpu/gpu.h @@ -6,5 +6,5 @@ struct GLFWwindow; void gpu_init(GLFWwindow *window); -void gpu_draw(float audio_peak, float aspect_ratio); -void gpu_shutdown(); \ No newline at end of file +void gpu_draw(float audio_peak, float aspect_ratio, float time); +void gpu_shutdown(); -- cgit v1.2.3