[IPython-dev] Experimental GLUT integration
Nicolas Rougier
Nicolas.Rougier at inria.fr
Fri Aug 26 13:30:52 EDT 2011
Hi Folks,
I've coded an experimental GLUT integration (thanks to Fernando's explanations) for the new input hook system. I would like to know if people could test it and review if the code's ok.There is also an integration example in the docs/examples/lib/gui-glut.py
You should be able to type:
In [5]: %gui glut
In [6]: %run gui-glut.py
At this point a small black window should appear
In [7]: gl.glClearColor(1,1,1,1)
The window color should change to white.
Link: https://github.com/rougier/ipython/compare/master…glut
Nicolas
More information about the IPython-dev
mailing list