LightDraw began with a simple goal: make optics easier to teach, explore, and understand. I built this lightweight 2D simulator around real classroom needs, then extended it to visualize electrostatic and magnetostatic fields alongside optics.

Built with .NET, Avalonia, and SkiaSharp, LightDraw makes abstract physics easier to see and explore.

Try LightDraw

About the online version: It runs in Avalonia’s WebAssembly (WASM) mode, where performance is significantly limited. Please use it for an initial evaluation or when you urgently need access. For regular use and the best experience, choose the desktop client.

A look at the simulations

Electric and magnetic fields

LightDraw electrostatic field simulation LightDraw magnetostatic field simulation

Optics

LightDraw optics simulation Another LightDraw optics simulation LightDraw application screenshot

Special thanks to the creators and contributors of Ray Optics Simulation, whose work inspired this project.

Archived Comments (1)

These comments are preserved from the former WordPress site in their original language.

  1. Martin Hung

    Now language switching between Chinese and English is supported.