How do I cleanly design a central render/animation loop?
- by mtoast
I'm learning some graphics programming, and am in the midst of my first such project of any substance. But, I am really struggling at the moment with how to architect it cleanly. Let me explain.
To display complicated graphics in my current language of choice (JavaScript -- have you heard of it?), you have to draw graphical content onto a…