might want to look at /sys/src/games.  there are more examples in various /n/sources/contrib.


On Wed, Nov 12, 2014 at 6:22 AM, erik quanstrom <quanstro@quanstro.net> wrote:
> Even though 9 doesn't have OpenGL, what is the easiest way to code (as far
> as coding amount is concerned) graphics in 9? On a side note, how awesome
> would it be to put openGL on 9, and run a distributed system for
> supergaming?! 9 is just that awesome. Haha.

see draw(2).  you may be assuming that graphics == 3d graphics, but plan 9
does not have a 3d graphics model.

- erik