One well-known symbol of the philosophy of duality known as yin and yang is the taijitu.



Task

   Create a function that, given a parameter representing size, generates such a symbol scaled to the requested size.
   Generate and display the symbol for two different (small) sizes.


YinYang(r)={ for(y=-r,r, print(concat(apply( x->
     if( x^2+y^2>r^2, " ",
        [y<0,y>0,x>0][logint((x^2+(abs(y)-r/2)^2)<<8\r^2+1,2)\3+1], "#", "."
     ), [-r..r]
 ))))
}