Commit Graph

1159 Commits

Author SHA1 Message Date
5360d2c6d3 Add a 2d color-based renderer 2020-07-16 00:31:20 -07:00
b890d8dc3a Fix the math errors so that 2d simulations appear to now conserve energy. 2020-07-15 23:34:51 -07:00
a82c2f60e7 broken: expand to two dimensions.
Broken because there seems to be a scaling issue, and also the previous
1d simulation has no effect when ported to this new 2d world.
2020-07-14 23:26:27 -07:00
80cb3a9d52 Add a color terminal renderer 2020-07-12 23:00:54 -07:00
52c2b5be5a Render the B/E fields in a way that's a little more insightful 2020-07-12 21:52:20 -07:00
2174113e7d Fix the inverted sign so that the energy looks reasonable now 2020-07-12 21:35:40 -07:00
0ea06af0b0 Add a way to render the state
Note that this has exposed some scaling error that needs to be fixed.
2020-07-12 21:17:15 -07:00
ccd7b45fc8 Implement time stepping of both the B and E field 2020-07-12 20:51:28 -07:00
5e237800b4 Initial commit 2020-07-12 19:14:13 -07:00