all repos — website.git @ b9293d53968f798b468fe5997aa4fbac34231d80

Files for the website.

templates/sim.html

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
<title>  FDTD Wave Simulation </title>
	<link rel="stylesheet" type="text/css" href="/style.css">
  <script type="module">
    import init from '/FDTD.js'

    init().catch((error) => {
      if (!error.message.startsWith("Using exceptions for control flow, don't mind me. This isn't actually an error!")) {
        throw error;
      }
    });
  </script>