Module ImportFrom alias alias alias alias Expr Str Import alias Import alias alias alias alias alias alias Import alias Import alias If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias identifier ImportFrom alias identifier orelse Import alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad NameLoad Num Num Num Num Num Num Num Num Num ListLoad NameLoad Num Num Num Num Num Num Num Num Num ListLoad NameLoad Num Num Num Num Num Num Num Num Num ListLoad NameLoad Num Num Num Num Num Num Num Num Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr If CompareLt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num orelse If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpPow NameLoad Num BinOpPow NameLoad Num BinOpPow NameLoad Num Expr Call NameLoad Call AttributeLoad Str attr NameLoad Return IfExp CompareGt NameLoad Num BinOpDiv NameLoad NameLoad BinOpMult Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv UnaryOpUSub BinOpSub BinOpMod BinOpAdd BinOpSub NameLoad AttributeLoad NameLoad attr Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpPow BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Num BinOpPow BinOpSub SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr If CompareLt NameLoad AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpAdd BinOpPow AttributeLoad NameLoad attr Num BinOpPow AttributeLoad NameLoad attr Num Assign NameStore BinOpMult BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv NameLoad AttributeLoad NameLoad attr If CompareGt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num If CompareGt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad NameLoad AugAssignMult AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad NameLoad AugAssignMult AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult BinOpMult AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad If CompareLt NameLoad Num body AugAssignMult NameStore Num AugAssignMult NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpMult BinOpSub AttributeLoad NameLoad attr NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpSub BinOpMult BinOpMult NameLoad NameLoad NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad NameLoad If CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If CompareLt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMult BinOpMult UnaryOpUSub NameLoad NameLoad Num Assign NameStore IfExp CompareNotEq NameLoad Num BinOpDiv BinOpMult AttributeLoad NameLoad attr NameLoad NameLoad Num Assign AttributeStore NameLoad attr IfExp CompareNotEq NameLoad Num BinOpDiv Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpSub BinOpSub BinOpMult BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpSub BinOpSub BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad If CompareLt AttributeLoad NameLoad attr BinOpAdd NameLoad Num body Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr BinOpSub BinOpSub BinOpMult BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpSub BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad BinOpMult BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub BinOpMult NameLoad NameLoad BinOpMult BinOpMult NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad BinOpSub AttributeLoad NameLoad attr BinOpMult Num NameLoad BinOpAdd AttributeLoad NameLoad attr Num BinOpSub AttributeLoad NameLoad attr BinOpMult Num NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Index Num SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AugAssignAdd AttributeStore NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword BinOpAdd BinOpDiv UnaryOpUSub NameLoad Num Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword BinOpAdd BinOpDiv UnaryOpUSub NameLoad Num Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword BinOpAdd BinOpDiv UnaryOpUSub NameLoad Num Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword BinOpAdd BinOpDiv UnaryOpUSub NameLoad Num Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword BinOpAdd BinOpDiv UnaryOpUSub NameLoad Num Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword BinOpAdd BinOpDiv UnaryOpUSub NameLoad Num Num keyword Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd SubscriptLoad NameLoad Index Num Num BinOpAdd SubscriptLoad NameLoad Index Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpDiv BinOpMult Num AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpDiv BinOpMult Num AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpUSub AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad For NameStore NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpDiv BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore BinOpDiv BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareGt NameLoad Num body AugAssignMult NameStore BinOpDiv Num NameLoad AugAssignMult NameStore BinOpDiv Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Str Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Num orelse Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp AttributeLoad NameLoad attr BinOpAdd BinOpMult AttributeLoad NameLoad attr Num BinOpMult SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Expr Str Assign NameStore NameLoad Assign AttributeStore NameLoad attr Num For NameStore NameLoad body If UnaryOpNot CompareIn SubscriptLoad NameLoad Index Num NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num Call NameLoad Str Num SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr IfExp AttributeLoad NameLoad attr BinOpAdd BinOpMult AttributeLoad NameLoad attr Num BinOpMult SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr BinOpSub BinOpAdd SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num BinOpMult BinOpMult SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num BinOpMult SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num BinOpMult BinOpMult SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad BinOpSub AttributeLoad NameLoad attr NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv BinOpSub BinOpMod BinOpAdd BinOpSub AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Num BinOpMult SubscriptLoad NameLoad Index Num NameLoad Num Num Num Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num If NameLoad body Assign AttributeStore NameLoad attr BinOpAdd NameLoad BinOpMult BinOpDiv BinOpSub Call NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Return NameLoad orelse Expr Call NameLoad NameLoad Return NameLoad orelse Expr Call NameLoad Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Str NameLoad decorator_list TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad Str attr attr handlers ExceptHandler body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad Str attr attr handlers ExceptHandler body Assign NameStore Str Assign NameStore Call NameLoad Str Num NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad Assign NameStore Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore NameLoad While BoolOpAnd Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMult UnaryOpUSub NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num orelse AugAssignSub NameStore BinOpMult NameLoad Num AugAssignSub NameStore BinOpMult NameLoad Num Expr Str If BoolOpOr Call AttributeLoad NameLoad attr Str CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num body Expr Call AttributeLoad NameLoad attr Num If BoolOpOr Call AttributeLoad NameLoad attr Str CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num body Expr Call AttributeLoad NameLoad attr Num If Call AttributeLoad NameLoad attr Str body For NameStore NameLoad body If CompareNotEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Break If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body AugAssignMult AttributeStore NameLoad attr Num If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign TupleStore NameStore NameStore TupleLoad Num Num If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Num NameLoad BinOpAdd UnaryOpUSub SubscriptLoad NameLoad Index Num NameLoad UnaryOpUSub AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A __future__ absolute_import division print_function unicode_literals N/A quite a complicated demo showing many features of pi3d as well as
communication between players using httpRequest (see rpi_json.sql and
rpi_json.php) json serialisation and threading.
 N/A sys N/A time math glob random threading json N/A demo N/A pi3d N/A N/A N/A N/A sys version_info N/A 0 3 N/A urllib request urllib_request urllib parse urllib_parse N/A N/A urllib N/A urllib_request urllib N/A urllib_parse urllib N/A DISPLAY N/A N/A N/A pi3d Display create x 100 y 100 frames_per_second 20 N/A CAMERA N/A N/A pi3d Camera lens N/A 1.0 10000.0 55.0 1.6 N/A CAMERA2D N/A N/A pi3d Camera is_3d False N/A N/A print ===================================
== W increase power, S reduce power
== V view mode, C control mode
== B brakes
== mouse movement joystick
== Left button fire!
== X jumps to location of 1st enemy in list
================================ N/A SHADER N/A N/A pi3d Shader uv_bump N/A FLATSH N/A N/A pi3d Shader uv_flat N/A GRAVITY 9.8 N/A LD 10 N/A DAMPING 0.95 N/A BOOSTER 1.5 N/A BULLET_TEX N/A N/A iFiles N/A N/A glob glob N/A N/A N/A sys path N/A 0 /textures/biplane/bullet??.png N/A N/A N/A iFiles sort N/A f iFiles N/A N/A N/A N/A BULLET_TEX append N/A N/A pi3d Texture f N/A DAMAGE_FACTOR 50 N/A NR_TM 1.0 N/A FA_TM 5.0 N/A NR_DIST 250 N/A FA_DIST 1500 N/A P_FACTOR 0.001 N/A I_FACTOR 1e-05 Aeroplane N/A object N/A __init__ N/A N/A self model recalc_time refid N/A N/A N/A N/A self refid refid N/A N/A self recalc_time recalc_time N/A N/A N/A self x N/A self y N/A self z N/A 0.0 0.0 0.0 N/A N/A N/A self x_perr N/A self y_perr N/A self z_perr N/A 0.0 0.0 0.0 N/A N/A N/A self x_ierr N/A self y_ierr N/A self z_ierr N/A 0.0 0.0 0.0 N/A N/A self d_err 0.0 N/A N/A N/A self v_speed N/A self h_speed N/A 0.0 0.0 N/A N/A N/A self rollrate N/A self pitchrate N/A self yaw N/A 0.0 0.0 0.0 N/A N/A N/A self direction N/A self roll N/A self pitch N/A 0.0 0.0 0.0 N/A N/A N/A self max_roll N/A self max_pitch N/A 65 30 N/A N/A N/A self ailerons N/A self elevator N/A 0.0 0.0 N/A N/A N/A self max_ailerons N/A self max_elevator N/A 10.0 10.0 N/A N/A self VNE 120 N/A N/A self mass 300 N/A N/A N/A self a_factor N/A self e_factor N/A 10 10 N/A N/A N/A self roll_inrta N/A self pitch_inrta N/A 100 100 N/A N/A self max_power 2000 N/A N/A self lift_factor 20.0 N/A N/A self power_setting 0.0 N/A N/A self throttle_step 20 N/A N/A self last_time N/A N/A time time N/A N/A self last_pos_time N/A self last_time N/A N/A self del_time None N/A N/A self rtime 60 N/A N/A self nearest None N/A N/A self other_damage 0.0 N/A N/A self damage 0.0 N/A N/A self model N/A N/A pi3d Model file_string model camera CAMERA N/A N/A N/A N/A self model set_shader SHADER N/A plane N/A N/A pi3d Plane h 25 w 1 N/A N/A self bullets N/A N/A pi3d MergeShape camera CAMERA N/A N/A N/A N/A self bullets merge N/A N/A plane -2.0 0.5 8.0 90 0 0 1 1 1 N/A plane -2.0 0.5 8.0 0 90 90 1 1 1 N/A plane 2.0 0.5 8.0 90 0 0 1 1 1 N/A plane 2.0 0.5 8.0 0 90 90 1 1 1 N/A N/A self num_b N/A len BULLET_TEX N/A N/A self seq_b N/A self num_b N/A N/A N/A N/A self bullets set_draw_details FLATSH N/A N/A BULLET_TEX N/A 0 N/A set_ailerons N/A N/A self dx N/A N/A N/A N/A self ailerons dx N/A N/A N/A abs N/A self ailerons N/A self max_ailerons N/A N/A N/A self ailerons N/A N/A math copysign N/A self max_ailerons N/A self ailerons N/A set_elevator N/A N/A self dy N/A N/A N/A N/A self elevator dy N/A N/A N/A abs N/A self elevator N/A self max_elevator N/A N/A N/A self elevator N/A N/A math copysign N/A self max_elevator N/A self elevator N/A set_power N/A N/A self incr N/A N/A N/A N/A self power_setting N/A incr N/A self throttle_step N/A N/A N/A self power_setting 0 N/A N/A N/A self power_setting 0 N/A N/A N/A N/A self power_setting N/A self max_power N/A N/A N/A self power_setting N/A self max_power N/A shoot N/A N/A self target N/A N/A N/A N/A N/A self seq_b N/A self num_b N/A N/A 0.0 N/A N/A self seq_b 0 N/A diag_xz N/A N/A math cos N/A N/A math radians N/A self pitch N/A drn_x N/A diag_xz N/A N/A math sin N/A N/A math radians N/A self direction N/A drn_y N/A N/A math sin N/A N/A math radians N/A self pitch N/A drn_z N/A diag_xz N/A N/A math cos N/A N/A math radians N/A self direction N/A a_x N/A N/A target N/A 0 N/A self x N/A a_y N/A N/A target N/A 1 N/A self y N/A a_z N/A N/A target N/A 2 N/A self z N/A dot_p N/A N/A N/A drn_x a_x N/A drn_y a_y N/A drn_z a_z N/A dx N/A a_x N/A dot_p drn_x N/A dy N/A a_y N/A dot_p drn_y N/A dz N/A a_z N/A dot_p drn_z N/A distance N/A N/A math sqrt N/A N/A N/A dx 2 N/A dy 2 N/A dz 2 N/A N/A print N/A N/A distance={0:.2f} format distance N/A N/A N/A distance 0.0 N/A DAMAGE_FACTOR distance N/A 2.0 DAMAGE_FACTOR N/A home N/A N/A self target N/A N/A N/A dir_t N/A N/A math degrees N/A N/A math atan2 N/A N/A target N/A 0 N/A self x N/A N/A target N/A 2 N/A self z N/A N/A self roll N/A N/A N/A N/A N/A N/A dir_t N/A self direction 180 360 180 2 N/A pch_t N/A N/A math degrees N/A N/A math atan2 N/A N/A target N/A 1 N/A self y N/A N/A math sqrt N/A N/A N/A N/A target N/A 2 N/A self z 2 N/A N/A N/A target N/A 0 N/A self x 2 N/A N/A self pitch pch_t N/A True N/A update_variables N/A N/A self N/A N/A N/A tm N/A N/A time time N/A dt N/A tm N/A self last_time N/A N/A dt N/A self recalc_time N/A N/A N/A N/A self last_time tm N/A spsq N/A N/A N/A self v_speed 2 N/A N/A self h_speed 2 N/A a_force N/A N/A N/A self a_factor N/A self ailerons spsq N/A roll_acc N/A a_force N/A self roll_inrta N/A e_force N/A N/A N/A self e_factor N/A self elevator spsq N/A pitch_acc N/A e_force N/A self pitch_inrta N/A N/A N/A abs N/A self roll N/A self max_roll N/A N/A N/A self roll N/A N/A math copysign N/A self max_roll N/A self roll N/A N/A self rollrate 0.0 N/A N/A N/A abs N/A self pitch N/A self max_pitch N/A N/A N/A self pitch N/A N/A math copysign N/A self max_pitch N/A self pitch N/A N/A self pitchrate 0.0 N/A N/A self roll N/A N/A self rollrate dt N/A N/A self pitch N/A N/A self pitchrate dt N/A N/A self rollrate N/A roll_acc dt N/A N/A self rollrate DAMPING N/A N/A self pitchrate N/A pitch_acc dt N/A N/A self pitchrate DAMPING N/A aofa N/A N/A math atan2 N/A self v_speed N/A self h_speed N/A aofa N/A N/A N/A math radians N/A self pitch aofa N/A lift N/A N/A N/A self lift_factor spsq aofa N/A drag N/A lift LD N/A N/A spsq 100 N/A N/A lift 0.9 N/A drag 1.3 N/A cos_pitch N/A N/A math cos N/A N/A math radians N/A self pitch N/A sin_pitch N/A N/A math sin N/A N/A math radians N/A self pitch N/A cos_roll N/A N/A math cos N/A N/A math radians N/A self roll N/A sin_roll N/A N/A math sin N/A N/A math radians N/A self roll N/A h_force N/A N/A N/A N/A self power_setting drag cos_pitch N/A lift sin_pitch N/A v_force N/A N/A N/A lift cos_pitch cos_roll N/A N/A self mass GRAVITY N/A h_acc N/A h_force N/A self mass N/A v_acc N/A v_force N/A self mass N/A N/A self h_speed N/A h_acc dt N/A N/A N/A self h_speed N/A self VNE N/A N/A N/A self h_speed N/A self VNE N/A N/A N/A N/A self h_speed 0 N/A N/A N/A self h_speed 0 N/A N/A self v_speed N/A v_acc dt N/A N/A N/A abs N/A self v_speed N/A self VNE N/A N/A N/A self v_speed N/A N/A math copysign N/A self VNE N/A self v_speed N/A turn_force N/A N/A N/A lift sin_roll 1.5 N/A radius N/A N/A turn_force 0.0 N/A N/A N/A self mass spsq turn_force 0.0 N/A N/A self yaw N/A N/A radius 0.0 N/A N/A N/A math sqrt spsq radius 0.0 N/A update_position N/A N/A self height N/A N/A N/A tm N/A N/A time time N/A dt N/A tm N/A self last_pos_time N/A N/A self last_pos_time tm N/A N/A self x N/A N/A N/A N/A N/A self h_speed N/A N/A math sin N/A N/A math radians N/A self direction dt N/A N/A self x_perr P_FACTOR N/A N/A self x_ierr I_FACTOR N/A N/A self y N/A N/A N/A N/A self v_speed dt N/A N/A self y_perr P_FACTOR N/A N/A self y_ierr I_FACTOR N/A N/A N/A self y N/A height 3 N/A N/A N/A self y N/A height 3 N/A N/A self v_speed 0 N/A N/A self pitch 2.5 N/A N/A self z N/A N/A N/A N/A N/A self h_speed N/A N/A math cos N/A N/A math radians N/A self direction dt N/A N/A self z_perr P_FACTOR N/A N/A self z_ierr I_FACTOR N/A N/A self direction N/A N/A N/A N/A math degrees N/A self yaw dt N/A N/A self d_err P_FACTOR N/A sin_d N/A N/A math sin N/A N/A math radians N/A self direction N/A cos_d N/A N/A math cos N/A N/A math radians N/A self direction N/A sin_r N/A N/A math sin N/A N/A math radians N/A self roll N/A cos_r N/A N/A math cos N/A N/A math radians N/A self roll N/A sin_p N/A N/A math sin N/A N/A math radians N/A self pitch N/A cos_p N/A N/A math cos N/A N/A math radians N/A self pitch N/A absroll N/A N/A math degrees N/A N/A math asin N/A N/A sin_r cos_d N/A N/A cos_r sin_p sin_d N/A abspitch N/A N/A math degrees N/A N/A math asin N/A N/A sin_r sin_d N/A N/A cos_r sin_p cos_d N/A N/A N/A N/A self model position N/A self x N/A self y N/A self z N/A N/A N/A N/A self model rotateToX abspitch N/A N/A N/A N/A self model rotateToY N/A self direction N/A N/A N/A N/A self model rotateToZ absroll N/A N/A N/A self seq_b N/A self num_b N/A N/A N/A N/A N/A self bullets position N/A self x N/A self y N/A self z N/A N/A N/A N/A self bullets rotateToX abspitch N/A N/A N/A N/A self bullets rotateToY N/A self direction N/A N/A N/A N/A self bullets rotateToZ absroll N/A N/A N/A N/A self x N/A 10.0 sin_d N/A N/A self y 4 N/A N/A self z N/A 10.0 cos_d N/A self direction N/A draw N/A N/A self N/A N/A N/A N/A N/A N/A self model draw N/A N/A N/A self seq_b N/A self num_b N/A N/A N/A N/A N/A N/A N/A self bullets buf N/A 0 textures N/A 0 N/A BULLET_TEX N/A N/A self seq_b N/A N/A N/A N/A self bullets draw N/A N/A self seq_b 1 N/A N/A Instruments N/A object N/A __init__ N/A N/A self N/A N/A N/A wd N/A DISPLAY width N/A ht N/A DISPLAY height N/A asi_tex N/A N/A pi3d Texture textures/airspeed_indicator.png N/A alt_tex N/A N/A pi3d Texture textures/altimeter.png N/A rad_tex N/A N/A pi3d Texture textures/radar.png N/A dot_tex N/A N/A pi3d Texture textures/radar_dot.png N/A ndl_tex N/A N/A pi3d Texture textures/instrument_needle.png N/A N/A self asi N/A N/A pi3d ImageSprite asi_tex FLATSH camera CAMERA2D w 128 h 128 x -128 y N/A N/A N/A ht 2 64 z 2 N/A N/A self alt N/A N/A pi3d ImageSprite alt_tex FLATSH camera CAMERA2D w 128 h 128 x 0 y N/A N/A N/A ht 2 64 z 2 N/A N/A self rad N/A N/A pi3d ImageSprite rad_tex FLATSH camera CAMERA2D w 128 h 128 x 128 y N/A N/A N/A ht 2 64 z 2 N/A N/A self dot N/A N/A pi3d ImageSprite dot_tex FLATSH camera CAMERA2D w 16 h 16 z 1 N/A N/A self ndl1 N/A N/A pi3d ImageSprite ndl_tex FLATSH camera CAMERA2D w 128 h 128 x -128 y N/A N/A N/A ht 2 64 z 1 N/A N/A self ndl2 N/A N/A pi3d ImageSprite ndl_tex FLATSH camera CAMERA2D w 128 h 128 x 0 y N/A N/A N/A ht 2 64 z 1 N/A N/A self ndl3 N/A N/A pi3d ImageSprite ndl_tex FLATSH camera CAMERA2D w 128 h 128 x 128 y N/A N/A N/A ht 2 64 z 1 N/A N/A self dot_list N/A N/A N/A self update_time 0.0 N/A draw N/A N/A self N/A N/A N/A N/A N/A N/A self asi draw N/A N/A N/A N/A self alt draw N/A N/A N/A N/A self rad draw N/A i N/A self dot_list N/A N/A N/A N/A N/A self dot position N/A N/A i N/A 1 128 N/A N/A i N/A 2 N/A N/A N/A self rad y 1 N/A N/A N/A N/A self dot draw N/A N/A N/A N/A self ndl1 draw N/A N/A N/A N/A self ndl2 draw N/A N/A N/A N/A self ndl3 draw N/A update N/A N/A self ae others N/A N/A N/A N/A N/A N/A self ndl1 rotateToZ N/A N/A -360 N/A ae h_speed 140 N/A N/A N/A N/A self ndl2 rotateToZ N/A N/A -360 N/A ae y 3000 N/A N/A N/A N/A self ndl3 rotateToZ N/A N/A ae direction N/A N/A self dot_list N/A N/A i others N/A N/A N/A i start N/A N/A N/A o N/A others N/A i N/A dx N/A N/A N/A o x N/A ae x 50 N/A dy N/A N/A N/A o z N/A ae z 50 N/A d N/A N/A math hypot dx dy N/A N/A d 40 N/A N/A dx N/A 40 d N/A dy N/A 40 d N/A N/A N/A N/A self dot_list append N/A N/A o refid dx dy N/A N/A self update_time N/A ae last_pos_time N/A N/A json_load N/A N/A ae others N/A N/A N/A httprequest other players. Sends own data and gets back array of all
  other players within sight. This function runs in a background thread
   N/A tm_now N/A N/A time time N/A jstring N/A N/A json dumps N/A N/A ae refid N/A ae last_time N/A ae x N/A ae y N/A ae z N/A ae h_speed N/A ae v_speed N/A ae pitch N/A ae direction N/A ae roll N/A ae pitchrate N/A ae yaw N/A ae rollrate N/A ae power_setting N/A ae damage separators N/A , : N/A N/A ae nearest N/A N/A n_id N/A N/A ae nearest refid N/A n_damage N/A N/A ae nearest other_damage N/A N/A N/A ae nearest other_damage 0.0 N/A N/A n_id N/A n_damage 0.0 N/A params N/A N/A urllib_parse urlencode N/A id tm x z json nearest damage N/A ae refid tm_now N/A ae x N/A ae z jstring n_id n_damage N/A N/A others N/A start tm_now N/A urlstring N/A N/A http://www.eldwick.org.uk/sharecalc/rpi_json.php?{0} format params N/A N/A N/A r N/A N/A urllib_request urlopen urlstring N/A N/A N/A N/A r getcode 200 N/A N/A jstring N/A N/A N/A N/A r read decode utf-8 N/A N/A N/A len jstring 50 N/A N/A olist N/A N/A json loads jstring N/A N/A ae del_time N/A N/A ae del_time N/A N/A N/A ae del_time 0.9 N/A N/A olist N/A 0 0.1 N/A olist N/A 0 N/A N/A ae damage N/A olist N/A 1 N/A olist N/A olist N/A 2 N/A 
        synchronisation system: sends time.time() which is used to calculate
        an offset on the server and which is inserted as the second term 
        in the json string. When the list of other players comes back from
        the server it is preceded by the same offset time inserted in this json.
        This is used to adjust the last_time for all
        the other avatars.
         N/A nearest None N/A N/A ae rtime 60 N/A o olist N/A N/A N/A N/A N/A o N/A 0 others N/A N/A N/A others N/A N/A o N/A 0 N/A Aeroplane models/biplane.obj 0.1 N/A o N/A 0 N/A oa N/A others N/A N/A o N/A 0 N/A N/A oa refif N/A o N/A 0 N/A N/A oa del_time N/A N/A oa del_time N/A N/A N/A oa del_time 0.9 N/A N/A o N/A 1 0.1 N/A o N/A 1 N/A N/A oa last_time N/A N/A N/A o N/A 2 N/A oa del_time N/A ae del_time N/A dt N/A tm_now N/A oa last_time N/A N/A N/A oa x 0.0 N/A N/A N/A N/A oa x N/A oa y N/A oa z N/A N/A o N/A 3 N/A o N/A 4 N/A o N/A 5 N/A nx N/A N/A o N/A 3 N/A N/A N/A o N/A 6 N/A N/A math sin N/A N/A math radians N/A o N/A 9 dt N/A ny N/A N/A o N/A 4 N/A N/A o N/A 7 dt N/A nz N/A N/A o N/A 5 N/A N/A N/A o N/A 6 N/A N/A math cos N/A N/A math radians N/A o N/A 9 dt N/A distance N/A N/A math hypot N/A nx N/A ae x N/A nz N/A ae z N/A N/A N/A nearest N/A distance nearest N/A N/A nearest distance N/A N/A ae nearest oa N/A N/A N/A oa x_perr N/A oa y_perr N/A oa z_perr N/A N/A N/A oa x nx N/A N/A oa y ny N/A N/A oa z nz N/A N/A oa x_ierr N/A oa x_perr N/A N/A oa y_ierr N/A oa y_perr N/A N/A oa z_ierr N/A oa z_perr N/A N/A oa d_err N/A N/A N/A N/A N/A N/A oa direction N/A N/A o N/A 9 N/A N/A o N/A 12 dt 180 360 180 2 N/A N/A oa h_speed N/A o N/A 6 N/A N/A oa v_speed N/A o N/A 7 N/A N/A oa pitch N/A o N/A 8 N/A N/A oa roll N/A o N/A 10 N/A N/A oa pitchrate N/A o N/A 11 N/A N/A oa yaw N/A o N/A 12 N/A N/A oa rollrate N/A o N/A 13 N/A N/A oa power_setting N/A o N/A 14 N/A N/A oa damage N/A o N/A 15 N/A nearest N/A N/A N/A ae rtime N/A NR_TM N/A N/A N/A N/A max N/A min nearest FA_DIST NR_DIST NR_DIST N/A FA_DIST NR_DIST N/A FA_TM NR_TM N/A True N/A N/A N/A print jstring N/A False N/A N/A N/A print N/A N/A r getcode N/A False N/A N/A N/A Exception N/A e N/A N/A N/A print exception: e N/A N/A N/A N/A refid N/A N/A N/A N/A N/A open /sys/class/net/eth0/address read strip N/A N/A N/A N/A N/A N/A refid N/A N/A N/A N/A N/A open /sys/class/net/wlan0/address read strip N/A N/A N/A N/A refid 00:00:00:00:00:00 N/A a N/A Aeroplane models/biplane.obj 0.02 refid N/A N/A N/A a z N/A a direction N/A 900 180 N/A inst N/A Instruments N/A others N/A start 0.0 N/A thr N/A N/A threading Thread target json_load args N/A a others N/A N/A thr daemon True N/A N/A N/A thr start N/A ectex N/A N/A pi3d loadECfiles textures/ecubes sbox N/A myecube N/A N/A pi3d EnvironmentCube size 7000.0 maptype FACES camera CAMERA N/A N/A N/A myecube set_draw_details FLATSH ectex N/A N/A N/A myecube set_fog N/A 0.5 0.5 0.5 1.0 4000 N/A mapwidth 10000.0 N/A mapdepth 10000.0 N/A mapheight 1000.0 N/A mountimg1 N/A N/A pi3d Texture textures/mountains3_512.jpg N/A bumpimg N/A N/A pi3d Texture textures/grasstile_n.jpg N/A reflimg N/A N/A pi3d Texture textures/stars.jpg N/A mymap N/A N/A pi3d ElevationMap textures/mountainsHgt.jpg name map width mapwidth depth mapdepth height mapheight divx 64 divy 64 camera CAMERA N/A N/A N/A mymap set_draw_details SHADER N/A mountimg1 bumpimg reflimg 1024.0 0.0 N/A N/A N/A mymap set_fog N/A 0.5 0.5 0.5 1.0 4000 N/A inputs N/A N/A pi3d InputEvents N/A N/A N/A inputs get_mouse_movement N/A N/A N/A CAMERA position N/A 0.0 0.0 -10.0 N/A N/A cam_rot cam_pitch N/A 0 0 N/A cam_toggle True N/A N/A N/A N/A DISPLAY loop_running N/A N/A N/A inputs key_state KEY_ESC N/A N/A N/A N/A inputs do_input_events N/A N/A mx my mv mh md N/A N/A inputs get_mouse_movement N/A cam_toggle N/A N/A N/A N/A a set_ailerons N/A N/A mx 0.001 N/A N/A N/A a set_elevator N/A my 0.001 N/A N/A cam_rot N/A mx 0.1 N/A cam_pitch N/A my 0.1 N/A  joystick input
  mx, my = inputs.get_joystickR()
  if cam_toggle:
    a.set_ailerons(-mx * 0.06)
    a.set_elevator(my * 0.02)
  else:
    cam_rot -= mx * 2.0
    cam_pitch -= my * 2.0
   N/A N/A N/A N/A inputs key_state KEY_W N/A N/A N/A N/A inputs get_hat N/A 1 -1 N/A N/A N/A N/A a set_power 1 N/A N/A N/A N/A inputs key_state KEY_S N/A N/A N/A N/A inputs get_hat N/A 1 1 N/A N/A N/A N/A a set_power -1 N/A N/A N/A inputs key_state KEY_X N/A N/A i others N/A N/A N/A i start N/A N/A b N/A others N/A i N/A N/A N/A a x N/A a y N/A a z N/A N/A b x N/A N/A b y 5 N/A b z N/A N/A N/A N/A N/A inputs key_state KEY_B N/A N/A inputs key_state BTN_BASE2 N/A N/A N/A a h_speed 0.99 N/A N/A N/A N/A inputs key_state KEY_V N/A N/A inputs key_state BTN_TOP2 N/A N/A cam_toggle False N/A N/A N/A a set_ailerons 0 N/A N/A N/A a set_elevator 0 N/A N/A N/A N/A inputs key_state KEY_C N/A N/A inputs key_state BTN_BASE N/A N/A cam_toggle True N/A N/A cam_rot cam_pitch N/A 0 0 N/A N/A N/A N/A inputs key_state BTN_LEFT N/A N/A inputs key_state BTN_PINKIE N/A N/A N/A a nearest N/A N/A N/A tx ty tz N/A N/A N/A a nearest x N/A N/A a nearest y N/A N/A a nearest z N/A N/A N/A a nearest other_damage N/A N/A a shoot N/A tx ty tz N/A N/A N/A a update_variables N/A loc N/A N/A a update_position N/A N/A mymap calcHeight N/A a x N/A a z N/A N/A N/A CAMERA reset N/A N/A N/A CAMERA rotate N/A -20 cam_pitch N/A N/A N/A loc N/A 3 cam_rot N/A N/A a roll N/A N/A N/A CAMERA position N/A N/A loc N/A 0 N/A loc N/A 1 N/A loc N/A 2 N/A N/A N/A inst draw N/A N/A N/A a draw N/A i others N/A N/A N/A i start N/A N/A N/A b N/A others N/A i N/A N/A N/A b update_variables N/A N/A N/A b update_position N/A N/A mymap calcHeight N/A b x N/A b z N/A N/A N/A b draw N/A N/A N/A N/A N/A thr isAlive N/A N/A a last_pos_time N/A N/A others N/A start N/A a rtime N/A N/A thr N/A N/A threading Thread target json_load args N/A a others N/A N/A thr daemon True N/A N/A N/A thr start N/A N/A N/A a last_pos_time N/A N/A inst update_time NR_TM N/A N/A N/A N/A inst update a others N/A N/A N/A mymap draw N/A N/A N/A myecube position N/A loc N/A 0 N/A loc N/A 1 N/A loc N/A 2 N/A N/A N/A myecube draw N/A N/A N/A inputs release N/A N/A N/A DISPLAY destroy