⚡ ElectroSim

Created by Danny Luna | dannyq@uninorte.edu.co

Interactive 2D Charged Particle Simulation

Interactive simulation

Documentation

Load the Python environment to begin exploring charged particle dynamics in your browser.

Loading Python Environment...

Initializing Pyodide...

🖱️ Mouse Controls

  • Left Click: Place particle (drag to set velocity)
  • Shift + Click: Place negative charge
  • Alt + Click: Place fixed particle
  • Click on particle: Select particle

⌨️ Keyboard Controls

  • P: Pause/Resume
  • R: Reset to default scene
  • C: Clear all particles
  • E: Toggle electric field
  • F: Toggle force vectors
  • V: Toggle velocity vectors
  • T: Toggle particle trails

⚙️ Particle Editing

  • Q/W: Decrease/Increase charge
  • A/S: Decrease/Increase mass
  • Z/X: Decrease/Increase radius
  • Space: Toggle fixed/mobile
  • Delete: Remove particle

🚀 Speed Control

  • 1: 0.5× speed
  • 2: 1× speed (normal)
  • 3: 2× speed
  • 4: 4× speed
Console

Start Exploring Coulomb Dynamics Now

Launch the simulator to set up charges, visualise field lines and experiment with particle interactions in real time. Pair ElectroSim with your lesson plans and share discoveries with the community.

Explore Electric Fields Without Installing Software

ElectroSim helps physics enthusiasts, teachers and researchers model charged particles from any device. The web version runs entirely in the browser using Pyodide and WebAssembly, so you can launch experiments instantly.

Why It Matters

Understand Coulomb interactions, superposition and field visualisation with immediate visual feedback. ElectroSim accelerates concept retention for classrooms and self-learners alike.

Who Uses ElectroSim

Physics students, STEM teachers, science communicators and makers who need a reliable way to demonstrate electric forces interactively.

Key Features

Everything you need to simulate electric forces and trajectories accurately.

  • Drag-and-drop particle placement with adjustable charge, mass and velocity vectors.
  • Toggleable electric field, force and velocity visual overlays for deep analysis.
  • High-performance physics engine compiled to WebAssembly through Pyodide.

Popular Use Cases

Physics Education

Use ElectroSim to illustrate Coulomb's law, vector decomposition and conservation principles during lectures or labs.

Research & Prototyping

Rapidly prototype charged systems, validate hypotheses and export insights to guide further numerical modelling.

STEM Outreach

Create captivating, interactive experiences for science fairs and workshops without requiring installations.

Frequently Asked Questions

Does ElectroSim run on any device?

Yes. ElectroSim runs in modern browsers on desktop, Chromebook and tablet devices thanks to WebAssembly and Pyodide.

Is ElectroSim free to use?

ElectroSim is an open-source project released under a permissive licence. You can use it in classrooms or personal projects without cost.

Can I contribute new features?

Absolutely. Fork the project on GitHub, explore the contributor guide and submit pull requests with improvements or educational scenarios.