Skip to content

feat: add particle trajectory plotting module#7

Open
barnaba1302-droid wants to merge 2 commits intoaadit-n3rdy:masterfrom
barnaba1302-droid:feature/Plotting-and-Better-Visualization
Open

feat: add particle trajectory plotting module#7
barnaba1302-droid wants to merge 2 commits intoaadit-n3rdy:masterfrom
barnaba1302-droid:feature/Plotting-and-Better-Visualization

Conversation

@barnaba1302-droid
Copy link

Implements real-time graphs for position, velocity, and acceleration with multi-particle support and selective particle toggling.

Features Added
1.Real-time Graphing: Live updating plots as the simulation runs
2.Multi-particle Support: Track up to 16 particles simultaneously with color-coded visualization
3.Three Plot Types: Position, Velocity, and Acceleration plots
4.Component Selection: View X, Y, or Magnitude of each property
5.Particle Selection: Toggle individual particles on/off for focused analysis
6.Circular Buffer Storage: Efficient history storage of 500 data points per particle

Keyboard Controls:
p - Toggle plot panel
1/2/3 - Position/Velocity/Acceleration plot
C- Cycle X/Y/Magnitude
0, 4-9, Numpad 0-9 :- Toggle specific particles
H - Toggle help overlay
image

@aadit-n3rdy @IAmRiteshKoushik

Implements real-time graphs for position, velocity, and acceleration
with multi-particle support and selective particle toggling.
- Add keyboard controls help text at bottom-left of screen
- Press H to toggle help visibility (shown by default)
- Reduce plot margin to prevent overlap with simulation
@Devpool-soc
Copy link
Collaborator

Hey @barnaba1302-droid! Thank you for opening a pull request. Make sure to tag the maintainers and link the issue you are solving in your pull-request description if you have not already and they'll review as soon as possible.

@aadit-n3rdy
Copy link
Owner

Hey @barnaba1302-droid please remove the changes to CMakeLists.txt (except for adding the new source file), the changes break building of the project.
Also, a purely keyboard UI makes it difficulty to view the graphs, so please add mouse based UI, using imgui or something similar.

@IAmRiteshKoushik
Copy link
Contributor

Is this still being worked upon ? @barnaba1302-droid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants