Skip to content

Enhance mouse gravity simulation with new modes - #2

Open
Abhijnashetty07 wants to merge 1 commit into
ManviRai29:mainfrom
Abhijnashetty07:main
Open

Enhance mouse gravity simulation with new modes#2
Abhijnashetty07 wants to merge 1 commit into
ManviRai29:mainfrom
Abhijnashetty07:main

Conversation

@Abhijnashetty07

Copy link
Copy Markdown

This PR enhances the existing particle simulation by introducing multiple interactive modes and improving overall particle behavior.

Key Improvements:

  • Implemented Black Hole mode with particle absorption and scoring
  • Added Repel mode to push particles away from the cursor
  • Introduced Orbit mode for circular particle motion
  • Added Chaos mode for randomized dynamic behavior
  • Implemented mouse-click explosion effect
  • Improved particle physics and movement smoothness

Why this change is useful:
These additions significantly improve user interaction and make the simulation more dynamic and engaging compared to the original single-mode behavior.

Testing:

  • Verified all modes work correctly
  • Ensured smooth performance with multiple particles
  • Confirmed no crashes or unexpected behavior

Linked Issue:
Closes #1

Added multiple interaction modes and improved simulation.
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.

Enhancement : Add multiple interaction modes to particle stimulation.

1 participant