Idea for procedural 2d bitmap renderer
So I've had this idea in my head for a while now... Hear me out
Instead of having a ridiculously large library for graphics like openGL or DirextX (which could seem very daunting to a beginner), a small and simple one is written.
Inspired by glut, a window is created to a user specified size.
Inspired by dos emulators and the like, largish pixels in 256 colours are drawn from a struct holding a matrix of pixels organised in a 0x0, 1x0, 2,0 etc. format.
A standard main loop is created, like in most procedural graphics APIs. Functions are created to easily maintain a steady framerate.
All programmed in procedural c.
Ideas, possibilities, advice? Is there anything out there like this? Is there an easy way to do it?
I'm not proficient enough in graphics based languages or in windowing systems to program it myself, but I can see something lie this being a valuable tool in teaching game programming to learning programmers.