Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListComp Call NameLoad comprehension NameStore Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body With Call NameLoad NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareGt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Call NameLoad Num Num BinOpAdd NameLoad Call NameLoad Num Num decorator_list decorator_list
N/A javax.media.opengl GL particle Particle ParticleSystem N/A object N/A __init__ N/A N/A self maxParticles N/A 5000 N/A N/A N/A self maxParticles maxParticles N/A N/A self curIndex 0 N/A N/A self particles N/A N/A Particle N/A _ N/A range N/A self maxParticles N/A _fadeToColor N/A N/A self gl2 red green blue speed N/A N/A N/A N/A N/A gl2 glBlendFunc N/A GL GL_SRC_ALPHA N/A GL GL_ONE_MINUS_SRC_ALPHA N/A N/A N/A gl2 glColor4f red green blue speed N/A N/A N/A gl2 glBegin N/A gl2 GL_QUADS N/A N/A N/A gl2 glVertex2f 0 0 N/A N/A N/A gl2 glVertex2f width 0 N/A N/A N/A gl2 glVertex2f width height N/A N/A N/A gl2 glVertex2f 0 height N/A N/A N/A gl2 glEnd N/A updateAndDraw N/A N/A self invWidth invHeight drawFluid fluidSolver N/A N/A N/A N/A beginPGL pgl N/A N/A gl2 N/A N/A N/A pgl gl getGL2 N/A N/A N/A gl2 glEnable N/A GL GL_BLEND N/A N/A drawFluid N/A N/A N/A N/A self _fadeToColor gl2 0 0 0 0.05 N/A N/A N/A gl2 glBlendFunc N/A gl2 GL_ONE N/A GL GL_ONE N/A N/A N/A gl2 glEnable N/A gl2 GL_LINE_SMOOTH N/A N/A N/A gl2 glLineWidth 1 N/A N/A N/A gl2 glBegin N/A gl2 GL_LINES N/A particle N/A self particles N/A N/A N/A N/A particle alpha 0 N/A N/A N/A N/A particle update invWidth invHeight fluidSolver N/A N/A N/A particle drawOldSchool gl2 N/A N/A N/A gl2 glEnd N/A N/A N/A gl2 glDisable N/A GL GL_BLEND N/A addParticle N/A N/A self x y N/A N/A N/A N/A N/A N/A N/A self particles N/A N/A self curIndex init x y N/A N/A self curIndex 1 N/A N/A N/A self curIndex N/A self maxParticles N/A N/A N/A self curIndex 0 N/A addParticles N/A N/A self x y count N/A N/A N/A _ N/A range count N/A N/A N/A N/A self addParticle N/A x N/A random -15 15 N/A y N/A random -15 15 N/A N/A