# BASH - <s>167</s> 165 The `mb3` file: eval g={-4096..4096..200}' 'h={-8192..4096..115}' x=0;y=0;for((i=0;i<30&&x*x+y*y<1<<26;i++)) do((v=((x*x-y*y)>>12)+h)) ((y=((x*y)>>11)+g)) x=$v done printf $[i%10] ' (no trailing newline) Run it in a terminal with line length 107: [![mb3 run snapshot][2]][2] ---- # BASH - <s>214</s> 190 for h in {-4096..4096..200};do for g in {-8192..4096..115};do x=0;y=0 for((i=0;i<30&&x*x+y*y<1<<26;i++));do((v=((x*x-y*y)>>12)+g));((y=((x*y)>>11)+h)) x=$v done;printf $[i%10];done;echo;done This basically is the same code like below with calculations being replaced by hardcoded values and the image got flipped around the x axis. [![mb2.bash run snapshot][3]][3] *The version below did not fully fit the rules breaking "from (-2 - i) to (1 + i)".* --- # BASH - 236 <s>260</s> <s>261</s> <s>263</s> Use this source, Luke: a=-8601;b=2867;c=-4915;d=4915 ((e=(b-a)/99));((f=(d-c)/49)) for((h=d;h>=c;h-=f));do for((g=a;g<=b;g+=e));do x=0;y=0 for((i=0;i<30&&x*x+y*y<1<<26;i++));do((v=((x*x-y*y)>>12)+g)) ((y=((x*y)>>11)+h));x=$v done printf $[i%10] done;echo;done This code uses integer arithmetic only, so BASH does not need additional helpers for doing floating point maths... [![mb.bash run snapshot][4]][4] [1]: https://i.sstatic.net/pA7wu.png [2]: https://i.sstatic.net/7UCbY.png [3]: https://i.sstatic.net/GtPhd.gif [4]: https://i.sstatic.net/4t15G.gif