Module ImportFrom alias alias alias alias Expr Str Import alias Import alias Import alias Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr While Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod BinOpAdd NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Num Num NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad If CompareEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Break
N/A __future__ absolute_import division print_function unicode_literals N/A  GPU doing conways game of life. ESC to quit
this shows how it is possible to recycle images from the renderbuffer
and use the very fast processing speed of the GPU to do certain tasks.
 N/A ctypes N/A demo N/A pi3d N/A WIDTH 800 N/A HEIGHT 800 N/A DISPLAY N/A N/A N/A pi3d Display create w WIDTH h HEIGHT N/A CAMERA N/A N/A pi3d Camera is_3d False N/A shader N/A N/A pi3d Shader conway N/A tex N/A N/A N/A N/A tex append N/A N/A pi3d Texture textures/Roof.png mipmap False N/A N/A N/A tex append N/A N/A pi3d Texture textures/Roof.png mipmap False N/A sprite N/A N/A pi3d Sprite camera CAMERA w WIDTH h HEIGHT x 0.0 y 0.0 z 1.0 N/A N/A N/A sprite set_draw_details shader N/A N/A tex N/A 0 N/A N/A N/A sprite set_2d_size WIDTH HEIGHT 0.0 0.0 N/A ti 0 N/A mykeys N/A N/A pi3d Keyboard N/A N/A N/A DISPLAY loop_running N/A N/A N/A N/A sprite draw N/A ti N/A N/A ti 1 2 N/A N/A N/A N/A pi3d opengles glBindTexture N/A pi3d GL_TEXTURE_2D N/A N/A tex N/A ti _tex N/A N/A N/A N/A pi3d opengles glCopyTexImage2D N/A pi3d GL_TEXTURE_2D 0 N/A pi3d GL_RGB 0 0 WIDTH HEIGHT 0 N/A N/A N/A sprite set_draw_details shader N/A N/A tex N/A ti N/A N/A N/A N/A mykeys read 27 N/A N/A N/A N/A mykeys close N/A N/A N/A DISPLAY destroy N/A