Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpFloorDiv NameLoad Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num FunctionDef arguments args defaults body Assign NameStore BinOpDiv BinOpMult BinOpSub Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body If BinOpBitAnd NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpSub BinOpAdd BinOpDiv AttributeLoad NameLoad attr Num NameLoad BinOpMult BinOpMult NameLoad NameLoad Num orelse Expr Call AttributeLoad NameLoad attr BinOpSub BinOpDiv AttributeLoad NameLoad attr Num BinOpMult BinOpMult NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpDiv BinOpMult UnaryOpUSub NameLoad NameLoad Num Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num NameLoad SubscriptLoad NameLoad Slice Num AugAssignAdd NameStore Num Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr BinOpAdd Num BinOpMult Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Global identifier For NameStore NameLoad body Assign NameStore BinOpMult AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr AugAssignAdd SubscriptStore NameLoad Index Num NameLoad AugAssignAdd SubscriptStore NameLoad Index Num BinOpMult AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad Num body If BinOpBitAnd NameLoad Num body Assign NameStore BinOpSub SubscriptLoad NameLoad Index BinOpSub NameLoad Num SubscriptLoad NameLoad Index NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpMult BinOpMult NameLoad NameLoad NameLoad orelse AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num Assign SubscriptStore NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num If CompareLtE SubscriptLoad NameLoad Index Num Num body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Str keyword AttributeLoad NameLoad attr keyword Num keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad BinOpMult NameLoad Num BinOpMult NameLoad Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Num Expr Call NameLoad For NameStore Call NameLoad Call NameLoad NameLoad BinOpSub NameLoad Call NameLoad NameLoad body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A random N/A sys pyglet.gl * pyglet clock pyglet font pyglet graphics pyglet window N/A MAX_STREAMERS 1000 N/A N/A N/A len N/A sys argv 1 N/A N/A MAX_STREAMERS N/A int N/A N/A sys argv N/A 1 N/A MAX_ADD_STREAMERS N/A MAX_STREAMERS 10 N/A MIN_STREAMER_LENGTH 6 N/A MAX_STREAMER_LENGTH 20 N/A STREAMER_SEGMENT_SIZE 5 N/A STREAMER_PULL_FORCE 10 N/A GRAVITY -250 N/A win N/A N/A window Window vsync False N/A batch N/A N/A graphics Batch N/A streamers N/A N/A colors N/A N/A 170 0 0 N/A 0 255 100 N/A 80 100 255 N/A 40 180 180 N/A 200 255 100 N/A 255 70 200 add_streamers N/A N/A N/A N/A N/A dx N/A N/A N/A N/A N/A random random 0.5 N/A win width 4 N/A length N/A N/A random randint MIN_STREAMER_LENGTH MAX_STREAMER_LENGTH N/A position N/A N/A i N/A range length N/A N/A N/A i 1 N/A N/A N/A N/A position append N/A N/A N/A N/A win width 2 STREAMER_SEGMENT_SIZE N/A N/A dx i 0.05 N/A N/A N/A N/A position append N/A N/A N/A win width 2 N/A N/A dx i 0.05 N/A N/A N/A position append N/A N/A N/A i STREAMER_SEGMENT_SIZE 2 N/A position N/A N/A N/A position N/A 2 position N/A position N/A -2 N/A length 2 N/A color N/A N/A N/A random choice colors length N/A streamer N/A N/A batch add length GL_TRIANGLE_STRIP None N/A v2f/stream position N/A c3B/static color N/A N/A streamer dx dx N/A N/A streamer dy N/A N/A win height N/A 0.8 N/A N/A N/A random random 0.2 N/A N/A streamer dead False N/A N/A N/A streamers append streamer N/A update_streamers N/A N/A N/A N/A N/A streamers N/A streamer streamers N/A N/A dx N/A N/A streamer dx dt N/A N/A streamer dy N/A GRAVITY dt N/A vertices N/A streamer vertices N/A N/A vertices N/A 2 dx N/A N/A vertices N/A 3 N/A N/A streamer dy dt N/A i N/A range 4 N/A N/A len vertices 2 N/A N/A N/A i 1 N/A N/A dy N/A N/A vertices N/A N/A i 2 N/A vertices N/A i N/A N/A vertices N/A i N/A N/A STREAMER_PULL_FORCE dy dt N/A N/A N/A vertices N/A i dx N/A N/A vertices N/A 2 N/A vertices N/A 2 4 N/A N/A vertices N/A -2 N/A vertices N/A -4 -2 N/A N/A N/A vertices N/A -1 -100 N/A N/A N/A N/A streamer delete N/A N/A streamer dead True N/A streamers N/A p N/A p streamers N/A N/A p dead N/A N/A stats_text N/A N/A font Text N/A N/A font load 12 x N/A win width y 0 halign right update_stats N/A N/A dt N/A N/A N/A np N/A len streamers N/A usage N/A N/A N/A N/A N/A streamers N/A 0 domain allocator get_usage N/A fragmentation N/A N/A N/A N/A N/A streamers N/A 0 domain allocator get_fragmentation N/A blocks N/A len N/A N/A N/A N/A streamers N/A 0 domain allocator starts N/A N/A stats_text text N/A Streamers: %d  Blocks: %d  Usage: %d%%  Fragmentation: %d%% N/A np blocks N/A usage 100 N/A fragmentation 100 N/A N/A N/A N/A clock schedule_interval update_stats 1 N/A fps_text N/A N/A clock ClockDisplay N/A N/A N/A win has_exit N/A N/A N/A N/A win dispatch_events N/A dt N/A N/A clock tick N/A dt N/A min dt 0.05 N/A N/A update_streamers N/A i N/A range N/A min MAX_ADD_STREAMERS N/A MAX_STREAMERS N/A len streamers N/A N/A N/A add_streamers N/A N/A N/A win clear N/A N/A N/A batch draw N/A N/A N/A stats_text draw N/A N/A N/A fps_text draw N/A N/A N/A win flip