visual Euclidean algorithm by tails

IFS=, read w h
for((y=h;y--;)){
for((x=w;x--;)){
for((a=w,b=h,c=140;b>y&a>x;b<a?a-=b:(b-=a),c+=c%10/7*2+1)){
:
}
printf \\$c
}
echo
}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page