calculator_program.py

Created by aidanplews2013

Created on January 14, 2022

17.2 KB


from kandinsky import *
fill_rect(0,0,400,400,(188,216,148))
from time import *
#the next line is where you put the list that the pc program spits out
mo1=[[18446744073709551616, 904625697115422407917981643283923113800431284285536544523902482389240119296, 904625697115422407917981643283923113884920339163756080825961656827261222912, 904625697115422407917981643283923113815717406237063076176852548044405604352, 904625697115422407917981643283923113821034318319237942811298199398443384832, 904625697115422407917981643283923113799766670297566948829403739656318091776, 876356145762521992364840128512921032933055048021382325254841849488492199936, 876356145762521992364840128512921032919348596188702096995048092428050366464, 876356145762521992364840128512921032997293086267130824068722448124436545536, 876356145762521992364840128512921032958275949573556451269001884802173894656, 877239515376560410415292767033724900500679835108704809274418918044502851648, 877239515376560410415292767033724900557383168193939254286395236884278288384, 877239515376560410415292767033724900418977244820317225725285615587707670848, 877239515376560410415292767033724900472291786993278589602715177217670773378, 877239515376560410415292767033724900513892476198439421111018189178571577173, 877239515376560413461708139571000643719411663738215747091310044059438938471, 877239515376560413461708139571000644048727507303249184514628526917429784693, 877239515376560413461708139571000643899895520978055762319339550037809966328, 877239515376457767063630496421856687758189611128207508940747566363799715839, 877239515376457767063630496421856687727607956147484268231647684745957998591, 877239515376457767063630496421856687556293312725459450324481520217247186943, 877239515376457767063630496421856687471077337356604085769858194084273848319, 877239515376457767063630496421856687471077022919872789754328712337457938431, 876356145762422359079619405045312853119866883950605660500957498336283250682, 876356145762422359079619405045312853119866234913498324849406889013905720401, 876356145762422359079619405045312853119866234913498324757173168645391515648, 876356145762422359079619405045312853119866234913498324758326090150031917056, 876356145762422359079619405045312853119866234913498324757173168645357961216, 904625697115422407923734487872876704396963433932532551035825645728926007296, 904625697115422407923734487872876704399621889924102382781633259849486696448, 904625697115422407923734487872876704396963433932683666763277474375764279296, 904625697115422407923734487872876704396963433933150916592558528551788216320, 3116489061699962836334612374270908174033965243169995258593280, 3116489061699962836334612374270910650140717405108288027099136, 3116489061699962836334612374270915601957542944423823366160384, 3116489061699962836334612374270915601957542944423823366160384, 3116489061699962836334612374270925505492024326914631494795264, 904623973363832471326252470371298459608749804927357721717140745372024438784, 904623973363832471326252470371298459608749804947164764706890071205233033216, 904623973363832471326252470371298459608749804986778847144613860719953182720, 903769878934537196628967729397858569812819997897209936487377895360666009600, 903769878934537196628967729397858569812819997580297287020616355344927424512, 903769878934537196628967729397858569812819997897209937372821610898456051712, 903769878934537196628967729397858569812820002329035278162056947626997186560, 903769878934537196628967729397858569812819999720076645441904994571931090944, 27554750490491610128221074429386176411272281573577578729392611740614656, 27554750490491610128221074429386176411268636923359422270876792783896576, 27554750490491610128221074429386176411267369272759205570690342149160960, 27554750490491610128221074429386176411267369272759206723611846756007936, 27554750490491610128221074429386176411267369272759207300072599059431424, 855816547104773511032300030554168648750286973202458956132762302269095936, 855816547104773511032300030554168648750286973125087703893598817201684480, 855816547104773511032300030554168648750286973125087703893598817201684480, 855816547104773511032300030554168648750286973125087703947642012730130432, 27413684203544710146815004520204363281941300145241661499927248254497980416, 27413684203544710146815004520204363281941299828329011442872149680135864320, 27413684203544710146815004520204363281941306167819952623306507763387990016, 27413684203544710146815004520204363281941299829257466472338295948635537408, 27413684203544710146815004520204363281941299848522908333717096845497335808, 28243669855309952966814722758407577069432896437793433340875188272829038592, 28243669855309952966814722758407577069432896437861133186773613002023239680, 28243669855309952966814722758407577069432896437783761934318278933865299968, 27387802705754984012702476772619979400714900035659302088332048782111801344, 27387802705754984012702476772619979400714900034416526345768210196672282624, 27387802705754984012702476772619979402044129614769528207237227696070066176, 27387802705754984012702476772619979400714901143608383693829707312362684416, 27387802705754984012702476772619979400714900351325549625366716747748491264, 876357867934324801119019377005735938209505734340771669057180264841978314752, 876357867934324801119019377005735938209505733231576789394569731217775656960, 876357867934324801119019377005735938209505733231576487163114827559408238592, 876357867934324801119019377005735938209512554461003589198903554835742720000, 876357867934324801119019377005735938209521147863803490788509884935200309248, 881752014150054859989421304998703926176717794978181250613731560251260928, 881752014150054859989421304998703899581185095374784339550958344476819456, 881752014150054859989421304998703899585241578842854720145781484794413056, 881752014150054859989421304998703899564481263415491958130744632818008064, 1642290779312215616228826930237406335869021403019444560824631296, 1642290779312215616228826930237299853218611676482684577056292864, 1642290779312215616228826930237299853218696679078625633595817984, 1642290779312215616228826930237299853218602208689036949037383680, 1642290779312215616228826930237299858170362315676238387420790784, 904625697113876731345811736005899639851343613028171655552147882068917862400, 904625697113876731345811736005899639851343618093822296160196891979119841280, 904625697113876731345811736005899639851343613018268135090065707298671819776, 876356145762521894977633715704441418541414073148249381449681241234496124160, 876356145762521894977633715704441418541392893242020776161744402167319494656, 876356145762521894977633715704441418541475969991757350301054560792299438080, 876356145762521894977633715704441418541392893242020816523292493037856358400, 876356145762521894977633715704441418541392893242020986307089200142838923264, 877239515375017749898562961776469931671033347602034917098264137249335541760, 877239515375017749898562961776469931671033347602035974908518429632153780224, 877239515375017749898562961776469931671033347602038392759923471705584959488, 877239515375017749898562961776469931671033672120613301835679053076991311872, 877239515375017749898562961776469931671033347602034057627348082183202930688, 877239515376460780164604771296500708806604256313488967719050660369223647232, 877239515376460780164604771296500708806604256313488948829584728890642792448, 877239515376460780164604771296500708806604256313488948829584728890659569664, 877239515376460780164604771296500708806604256313488948829584728891448098816, 877239515376457764109164851198799699395985394531576074824976507454732894208, 877239515376457764109164851198799699395985394531576074824975082486254010368, 877239515376457764109164851198799699395985394531577284046019538427549319492, 877239515376457764109164851198799699395985394531576074824975278751766020226, 877239515376457764109164851198799699395985399602197842550226567235487749461, 876356145764061539450626827321823786703901882175329313671882331550040861932, 876356145764061539450626827321823786703907075824347203964142361229676336469, 876356145764061539450626827321823786703901882175329313671883343182518450098, 904625697115518921599541016540434311120926715805871054922372028686119818581, 904625697115518921599541016540434311120921578388493569042716117340112514746, 904625697115518921599541016540434311143940598075665423010291091327956768085, 904625697115518921599541016540434311121223220299437779805077911404826328879, 904625697115518921599541016540434311128010631313680951111017824658272900439]]

mo=[[158621210032301169493836435253007570293, 904625697115422407917981643283923113884170908663440060273395849773250722810, 904625697115422407917981643283923113827750503093514417346106725438789637461, 904625697115422407917981643283923114060269375694441958013696333356566837894, 904625697115422407917981643283923113947920858989936943989228043428704376149, 904625697115422407917981643283923114140049031809903066923099836167512127999, 876356145762521992364840128512921033004819554236532366196519578818951337335, 876356145762521992364840128512921033231203137808794865687715152924752474111, 876356145762521992364840128512921033142624661502536557180697922638131328511, 876356145762521992364840128512921033192275784424308024918264440040865135599, 877239515376560410415292767033724900614086501279173888204562337540259839421, 877239515376560410415292767033724900557383168193939443192586018700618751999, 877239515376560410415292767033724900546915902504425213912139206141693050551, 877239515376560410415292767033724900643139163709327995733047447833544754557, 877239515376560410415292767033724900686283575102281453613207456039475095722, 877239515376560413461708139571000644059111730919172095176375860104028751512, 877239515376560413461708139571000643735216989441577308281037994268790820746, 877239515376560413461708139571000643878628238178387575655370604294984291106, 877239515376457767063630496421856687609736759422548657937383066597584880900, 877239515376457767063630496421856687549169695361523410240243377567531303074, 877239515376457767063630496421856687712847338739004812967877093697581569365, 877239515376457767063630496421856687710247958211348533024290692680768430210, 877239515376457767063630496421856687585142365751998713806671514887834895701, 876356145762422359079619405045312853131165318106784451995938897832093626565, 876356145762422359079619405045312853228116973114973019409676056336272816390, 876356145762422359079619405045312853263724239833365194548495401739989725099, 876356145762422359079619405045312853211942641352962276284457620121094280533, 876356145762422359079619405045312853290011485678736441492377268369329136168, 904625697115422407923734487872876704510037812990299710592374515038944580949, 904625697115422407923734487872876704712170741684688580711666547390847582754, 904625697115422407923734487872876704505073957307374685206754345228969530689, 904625697115422407923734487872876704641556313222930918980185913202399963776, 3116489061699962836334725966494502140553304617750806597555457, 3116489061699962836334930018278919462413857299689674079186975, 3116489061699962836334724472498545274582353074255941552394581, 3116489061699962836334799183593006574690462537273422828468478, 3116489061699962836334725469419547065043581993080945294792533, 904623973363832471326252470371298459664762531552515983277261083364690149311, 904623973363832471326252470371298459722177260567670547225030549244734690773, 904623973363832471326252470371298459609475076932139119101338014369866313706, 903769878934537196628967729397858569841177509892419570189876011970711606608, 903769878934537196628967729397858569858235612545822623308540719485934092218, 903769878934537196628967729397858569926242261235712463542509761781933888853, 903769878934537196628967729397858569813872304494957172853628631510119280622, 903769878934537196628967729397858569920930542238035481989270258979599111509, 27554750490491610128221074429386219116140789033559515877583473596179002, 27554750490491610128221074429386289833532614202945863209620022505788757, 27554750490491610128221074429386232239790977779748184738847015020047098, 27554750490491610128221074429386289816658283083265216908901685517178197, 27554750490491610128221074429386254670290379057990968269523296022952446, 855816547104773511032300030554168762842357245078295637944267638019806549, 855816547104773511032300030554168966398457757721864549164081179414146798, 855816547104773511032300030554168762177742613362955457354424400624309589, 855816547104773511032300030554168728503860042554944451080692253978690488, 27413684203544710146815004520204363395372000971091066921565470895319109973, 27413684203544710146815004520204363537873404695449773660052218414231249131, 27413684203544710146815004520204363395368670706210344268342693540287304023, 27413684203544710146815004520204363605917339247052997610361309062202695867, 27413684203544710146815004520204363395410307173396997672850220237981046101, 28243669855309952966814722758407577407378790613705718502001605121067760554, 28243669855309952966814722758407577228054104093201362760101615180562388309, 28243669855309952966814722758407577323533561614832481382621397690003143610, 27387802705754984012702476772619979514142356349435683130429413800302433621, 27387802705754984012702476772619979740413959750039957519767608625628893098, 27387802705754984012702476772619979557570725649434351259953791180201219925, 27387802705754984012702476772619979724567515157208142019580285430253207458, 27387802705754984012702476772619979514121761898596921572587936883448069461, 876357867934324801119019377005735938540447055562631418669953516265810231018, 876357867934324801119019377005735938321603961520451578429799848748401390933, 876357867934324801119019377005735938286621639657376991068006558439065992123, 876357867934324801119019377005735938322940210390266366707836495898118935893, 876357867934324801119019377005735938442105217861709170975863990466128105215, 881752014150054859989421304998704031794961654007936451129321228342809941, 881752014150054859989421304998704154759534558138959577304246716318351355, 881752014150054859989421304998704012984142805242883173212075070190345557, 881752014150054859989421304998704148124906431227807976625794367308693502, 1642290779312215616228827043665513559115263330588495068824827253, 1642290779312215616228826988322160817524477184832581880138153979, 1642290779312215616228827043664796694661571990696267270732862805, 1642290779312215616228827076453333930383933088280384997393825790, 1642290779312215616228827043663457424887515098838720832102331733, 904625697113876731345811736005899639896869589387403419620691805278664015795, 904625697113876731345811736005899639943504075040003774810743053912426949973, 904625697113876731345811736005899640162376473660844619867795394447834088446, 876356145762521894977633715704441418654841569353381411124893905826911521365, 876356145762521894977633715704441418864393993051810775745866052216034426810, 876356145762521894977633715704441418654903425632070154237674971062370915669, 876356145762521894977633715704441418874670850432757018319720144036977179630, 876356145762521894977633715704441418654465984762943427854117156320917812565, 877239515375017749898562961776469931750371886651397743316751143420615965626, 877239515375017749898562961776469931784460803401577627050857103819097363797, 877239515375017749898562961776469931903232842828345453555059982406497856170, 877239515375017749898562961776469931784461130455457370483754508627991680341, 877239515375017749898562961776469931729415532370204987604040550559206058922, 877239515376460780164604771296500708920031711953801789021094074984980370773, 877239515376460780164604771296500708869986624060671829533914976481836007422, 877239515376460780164604771296500708920031711953804349025826908423853660021, 877239515376460780164604771296500709141215250789136620004356883388116762623, 877239515376457764109164851198799699509412850171888898488372200395784445917, 877239515376457764109164851198799699729621621394361796409566317023076548607, 877239515376457764109164851198799699551958530799742146738219974377598613179, 877239515376457764109164851198799699730618542470428645828508313646318747517, 877239515376457764109164851198799699509415616861598394099262811359249345194, 876356145764061539450626827321823787044184249096267777135256860017491825427, 876356145764061539450626827321823786817501384707431451424879860254784531114, 876356145764061539450626827321823787044184249096267777135255848385014237261, 904625697115518921599541016540434311248522002461803659009388571495502621354, 904625697115518921599541016540434311461203619204767693998386578225655484741, 904625697115518921599541016540434311268043416057126608299124301621438753450, 904625697115518921599541016540434311460901977293823483236024784160941670608, 904625697115518921599541016540434311230804262987714445282245284780397210280]]

tt=0
for fap in range (2):#this is was used play back multiple frames of video just ignore it
 
   tm=monotonic() 
  
   zy=mo[0]
  
   zyy=mo1[0]
##for tt in range (1280):  
   for i in range(111):
    x=('{0:0250b}'.format(zy[i]))
    xeno=('{0:0250b}'.format(zyy[i]))
        
    for o in range(249):
      
      if int(x[o])==1:
  
         fill_rect((((o+30))),(i+30),1,1,(137,154,77))
      if int(xeno[o])==1:            
            fill_rect((((o+30))),(i+30),1,1,(53,82,48))
      if int(x[o])==1 and int(xeno[o])==1:        
      
            fill_rect((((o+30))),(i+30),1,1,(10,20,10))
      
      #if int(x[o])==1:
        #change the 2s to 1s in the next line to fit the full image on screen
        #fill_rect((((o+30))),(i+30),1,1,(255,255,255))