Skip to content

Sir-Jerm/electromagnetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electromagnetic Simulator



  • N-Body 3d Electromagnetic Simulator with Boris Algorithm (Leapfrog and Euler Methods included also)
  • O(n log n) Time Complexity achieved through Barnes-Hut Algorithm
  • Visual Vector Fields, Visual Paths of Charges, 2d Changeable Custom Graphs
  • 10k Particles
  • Columb’s Law and Biot-Savart’s Law
  • WASD Camera Movement and Camera Rotation (Click and Move Cursor)
  • Custom 3d Rendering System

Particles:

Screenshot 2026-05-30 220830

Graphs (Ex: FPS v. Time):

Screenshot 2026-05-30 220642

Visual Vectors ( White is electrical, green is magnetic): Screenshot 2026-06-17 215740


Assumptions

  • Non-Maxwellian
  • No Collision Detection
  • Free Space
  • No Other Forces Calculated