| Zut is a back-end for displaying graphics and animations quickly and effortlessly. To display a picture, simply use putchar() to give all the R, G and B values and pipe that into zut. The Mandelbrot set zoomer (included) is about 126 lines long (most of it is parsing commands) while the bouncing ball demo is 99 lines. Zut is now relatively quick, especially if there's a fastpath for your particular video mode. It also supports various buffering modes, including a form of double-buffering. It will use MIT-SHM if available. |