Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 679 Bytes

File metadata and controls

26 lines (22 loc) · 679 Bytes

Electric Field Simulation

This is a real-time simulation of two electric charges and their electric fields. It calculates electrostatic fields and relativistic Liénard-Wiechert fields.

How to Setup

Running with Docker (Recommended)

  1. Build and start the container:
    docker compose up -d
  2. Open your browser and go to:
    http://localhost:8080
    

Running Locally (Without Docker)

  1. Install dependencies:
    npm install
  2. Start the development server:
    npm run dev
  3. Open your browser and go to the link shown in your terminal (usually http://localhost:5173 or http://localhost:3000).