And now I'm going down the rabbit hole of trying to do the same “from scratch" exercise for integration. desmos has some fun but not super documented list comprehension features that are a bit like using parameter packs in swift
(We spent hours drawing rectangles under graphs when I was 16, which I hated because I was terrible at drawing, and it didn't seem to help with the understanding, unlike interacting with a slider like this might?)