devlup-labs / devlup-labs/MPV

Convert the 2D Bar Graph visualization into 3D Bar Graph visualization.

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
bug bounty enhancement
Dominant language
C++
Stars
1
Forks
6
PR merge metrics
No merged PRs in 30d

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**

![Image](https://github.com/user-attachments/assets/8347c2e2-d147-443b-8b48-ea9269391e9e)
Currently it is a 2D Bar graph visualization.

### **Expected Behaviour**

![Image](https://github.com/user-attachments/assets/fed289de-6c20-4a13-8391-7e2a72a1e333)
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.