Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 916 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 916 Bytes

distsim

The goal of the project is to demonstrate waves propagation using Huygens–Fresnel principle. It can be used to demonstrate propagetion of light or any surface wave.

features

  • arbitrary disturbance seed;
  • arbitrary obstacles;
  • interference and reflections simulations;
  • simulation cycles detection;

how it works

in the computing heart of the project lies a graph; on every step:

  • leaf nodes try to produce descendents. they can't produce them if the place is taken by obstacle or other node;
  • we search for cycles and remove them (interference simulation);

Screen Shot 2022-05-30 at 16 01 06

roadmap

  • add interface for setting disturbance seed (gocui);
  • add interface for settings arbitrary obstacles (gocui);
  • wrap drawer into gocui;