Added way too many abstractions in the goal of making my little universe viewer dynamic. It's working but it's getting harder to reason things out.
There is also some funkiness in the fact that sveltekit automatically runs things on the server and in the frontend so I have to be careful using libraries. It's a weird thing but something I think could be useful.