-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
Transform the existing 2D Bar Graph Visualization into a 3D Bar Graph Visualization using Perspective Projection. The x-axis represents different frequencies, while the y-axis represents the amplitudes of those frequencies. The z-axis introduces time variation, meaning that bars along the z-axis represent the amplitudes of the same frequency at different time intervals.
Conceptually, think of the x-y plane as a bar graph visualization at a specific point in time. As time progresses, this x-y plane moves along the negative z-axis, generating a new bar graph at each step. This visualization should be implemented as a new feature in the src/visualizations/ directory.
Files
Refer to the following files for the current implementation:
- src/visualizations/BarVisualization.cpp (for the current 2D bar graph visualization)
- src/visualizations/vertexShader.glsl (for the current 2D vertex inout and output for the fragment shader)
- src/main.cpp (for adding the new type of visualizations as a choice)
Actual Behaviour

Currently it is a 2D Bar graph visualization.
Expected Behaviour

The updated visualization should resemble this example, where each color represents a specific frequency, and the bars along the z-axis show amplitude changes over time.