Module Import alias Import alias Import alias identifier ClassDef bases NameLoad body Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad Num Num Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num Num NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad Num SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Return Call NameLoad BinOpDiv BinOpMult BinOpSub NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Return Call NameLoad BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr BinOpDiv BinOpMult BinOpSub NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Return TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Return Call NameLoad BinOpDiv Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub NameLoad NameLoad BinOpDiv Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign TupleStore NameStore NameStore NameLoad Return TupleLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Return BinOpMult NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Num orelse Assign NameStore Call NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad BinOpSub NameLoad BinOpDiv NameLoad Num BinOpSub NameLoad BinOpDiv NameLoad Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad BinOpDiv NameLoad Num BinOpSub NameLoad BinOpDiv NameLoad Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num TupleLoad Num Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpDiv NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpAdd Call NameLoad BinOpDiv NameLoad NameLoad Call NameLoad BinOpDiv NameLoad NameLoad Assign NameStore BinOpMod BinOpAdd BinOpMod NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod BinOpAdd BinOpMod NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv BinOpMult NameLoad Num NameLoad Num body For NameStore Call NameLoad Num BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv BinOpMult NameLoad Num NameLoad Num body Assign NameStore TupleLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index BinOpMod BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Break Print Str decorator_list decorator_list
N/A N/A pygame N/A pygame.gfxdraw N/A numpy np Colors N/A object N/A N/A black N/A 0 0 0 N/A white N/A 255 255 255 N/A blue N/A 0 0 255 N/A red N/A 255 0 0 N/A green N/A 0 255 0 N/A Viewer2D N/A object N/A __init__ N/A N/A self size xlim ylim N/A N/A 640 480 None None N/A N/A N/A N/A pygame init N/A screen N/A N/A N/A pygame display set_mode size N/A N/A xlim None N/A N/A xlim N/A 0 N/A size N/A 0 N/A N/A ylim None N/A N/A ylim N/A 0 N/A size N/A 1 N/A N/A self _screen screen N/A N/A self _xlim xlim N/A N/A self _ylim ylim N/A xlim N/A N/A self N/A N/A N/A N/A self _xlim N/A property xlim N/A N/A self value N/A N/A N/A N/A self _xlim value N/A N/A xlim setter ylim N/A N/A self N/A N/A N/A N/A self _ylim N/A property ylim N/A N/A self value N/A N/A N/A N/A self _ylim value N/A N/A ylim setter reset N/A N/A self N/A N/A N/A N/A N/A self fill N/A Colors white N/A fill N/A N/A self color N/A N/A N/A N/A N/A N/A self screen fill color N/A scale_x N/A N/A self world_x N/A N/A N/A N/A xmin xmax N/A self xlim N/A N/A int N/A N/A N/A world_x xmin N/A N/A N/A self screen get_width N/A xmax xmin N/A scale_y N/A N/A self world_y N/A N/A N/A N/A ymin ymax N/A self ylim N/A N/A int N/A N/A N/A N/A self screen get_height N/A N/A N/A world_y ymin N/A N/A N/A self screen get_height N/A ymax ymin N/A scale_point N/A N/A self point N/A N/A N/A N/A x y point N/A N/A N/A N/A self scale_x x N/A N/A self scale_y y N/A scale_factor N/A N/A self N/A N/A N/A N/A xmin xmax N/A self xlim N/A N/A ymin ymax N/A self ylim N/A N/A min N/A N/A N/A N/A self screen get_width N/A xmax xmin N/A N/A N/A N/A self screen get_height N/A ymax ymin N/A property scale_size N/A N/A self size N/A N/A N/A N/A hasattr size __len__ N/A N/A N/A x y size N/A N/A N/A N/A self scale_x N/A x N/A N/A self xlim N/A 0 N/A N/A N/A N/A self screen get_height N/A N/A self scale_y N/A y N/A N/A self ylim N/A 0 N/A N/A size N/A self scale_factor N/A line N/A N/A self color p1 p2 width N/A None N/A N/A N/A width None N/A N/A width 1 N/A N/A width N/A int N/A width N/A self scale_factor N/A N/A x1 y1 N/A N/A self scale_point p1 N/A N/A x2 y2 N/A N/A self scale_point p2 N/A N/A N/A N/A pygame draw line N/A self screen color N/A x1 y1 N/A x2 y2 width N/A circle N/A N/A self color p radius N/A N/A N/A N/A N/A N/A pygame draw circle N/A self screen color N/A N/A self scale_point p N/A int N/A N/A self scale_size radius N/A rect N/A N/A self color center size N/A N/A N/A N/A cx cy N/A N/A self scale_point center N/A N/A w h N/A N/A self scale_size size N/A N/A N/A len color 3 N/A N/A s N/A N/A pygame Surface N/A w h N/A pygame SRCALPHA N/A N/A N/A s fill color N/A N/A N/A N/A self screen blit s N/A N/A cx N/A w 2 N/A cy N/A h 2 N/A N/A N/A N/A N/A pygame draw rect N/A self screen color N/A N/A pygame Rect N/A cx N/A w 2 N/A cy N/A h 2 w h N/A polygon N/A N/A self color points N/A N/A N/A N/A N/A len color 3 N/A N/A s N/A N/A pygame Surface N/A N/A N/A N/A self screen get_width N/A N/A N/A self screen get_height N/A pygame SRCALPHA N/A N/A N/A s fill N/A 0 0 0 0 N/A N/A N/A N/A pygame draw polygon s color N/A map N/A self scale_point points N/A N/A N/A N/A self screen blit s N/A 0 0 N/A N/A N/A N/A N/A pygame draw polygon N/A self screen color N/A map N/A self scale_point points N/A screen N/A N/A self N/A N/A N/A N/A self _screen N/A property loop_once N/A N/A self N/A N/A N/A N/A N/A N/A pygame display flip N/A checker N/A N/A self colors granularity offset N/A N/A N/A Colors white N/A Colors black 4 N/A 0 0 N/A N/A screen_height N/A N/A N/A self screen get_height N/A screen_width N/A N/A N/A self screen get_width N/A screen_size N/A min screen_height screen_width N/A checker_size N/A int N/A screen_size granularity N/A offset_x N/A N/A self scale_x N/A N/A offset N/A 0 N/A N/A self xlim N/A 0 N/A offset_y N/A N/A self scale_y N/A N/A offset N/A 1 N/A N/A self ylim N/A 0 N/A start_idx N/A N/A int N/A offset_x checker_size N/A int N/A offset_y checker_size N/A offset_x N/A N/A N/A offset_x checker_size checker_size checker_size N/A offset_y N/A N/A N/A offset_y checker_size checker_size checker_size N/A row N/A range -1 N/A N/A int N/A N/A np ceil N/A N/A screen_height 1.0 checker_size 1 N/A N/A col N/A range -1 N/A N/A int N/A N/A np ceil N/A N/A screen_width 1.0 checker_size 1 N/A N/A the_square N/A N/A N/A col checker_size offset_x N/A N/A row checker_size offset_y checker_size checker_size N/A N/A N/A N/A self screen fill N/A colors N/A N/A N/A N/A start_idx row col 2 the_square N/A pause N/A N/A self N/A N/A N/A press any key on the screen to continue... N/A True N/A N/A event N/A N/A N/A pygame event wait N/A N/A N/A event type N/A pygame KEYDOWN N/A N/A N/A continuing N/A N/A