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.


pi=3.141592
s=.5
 
xp=320:yp=100:size=150
GOSUB DrawYY
 
xp=500:yp=40:size=50
GOSUB DrawYY
 
END
 
DrawYY:
  CIRCLE (xp,yp),size,,,,s
  CIRCLE (xp,yp+size/4),size/8,,,,s
  CIRCLE (xp,yp-size/4),size/8,,,,s
  CIRCLE (xp,yp+size/4),size/2,,.5*pi,1.5*pi,s
  CIRCLE (xp,yp-size/4),size/2,,1.5*pi,2*pi,s
  CIRCLE (xp,yp-size/4),size/2,,0,.5*pi,s
  PAINT (xp,yp-size/4)
  PSET (xp,yp)
  PAINT (xp+size/4,yp)
  RETURN