A simple, size-optimized framework for graphics programming