Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Electrical Circuit

Public visualization

Electrical Circuit

0 stars0🌍 Public
NNita
Last edited Apr 10, 2025
Created on Apr 10, 2025

This interactive simulation shows a simple DC electrical circuit with a battery, resistor, LED, wires, and circuit board, along with animated yellow particles representing electron flow. A control panel adjusts voltage and resistance, toggles power, and switches between circuit and 3D views, with current and power readouts updating live. Built with Three.js and OrbitControls, the scene uses WebGL rendering with directional lighting, procedural geometry for components, and real-time animation driven by sliders.

AI-generated description

Electrical Circuit Simulation

This is an interactive 3D electrical circuit simulation that demonstrates the basic components of a simple DC circuit.

Circuit Components

1. Battery

A DC power source that provides voltage to the circuit. It consists of:

  • Main battery body (gray)
  • Positive terminal (silver cylinder on top)
  • Green label

2. Resistor

A component that limits current flow in the circuit. Features:

  • Brown rectangular body
  • Four color bands (Black, Red, Gold, Gray) representing resistance value

3. LED (Light Emitting Diode)

A semiconductor device that emits light when current flows through it. Contains:

  • Red dome (the light-emitting part)
  • Black cylindrical base
  • Two metal legs for circuit connections
  • Glowing effect when powered

4. Wires

Blue conductors that connect all components together, allowing current to flow through the circuit.

5. Circuit Board

Green base board that all components are mounted on.

6. Electrons

Animated yellow particles that represent current flow through the circuit.

Circuit Operation

  • The battery provides voltage
  • Current flows through the wires
  • The resistor limits the current to protect the LED
  • The LED lights up when current passes through it

You can control the voltage, resistance, and power state using the control panel.

Comments

Sign in to join the discussion.

MIT Licensed