It would be good to have more context from early on as to naming conventions.
It’s not yet clear why things like windowHeight are camel case, and why r_axe_y are underscored. Not essential but I’ve been going off and customising some bits myself and am unsure how to name things.
Just a thought!