This seems like an awesome project, but for the love of God, why did you use JavaScript when you are obviously capable of making it in a decently performant low-level language like C or Rust? Browser apps have such terrible performance; I just don't understand your choice of framework.
That Veritasium video has been completely debunked by people dedicated to studying and especially working with electricity. Derek is a hack and you should look for real science channels, not popsci slop.