家紋シリーズ 鱗(2) 三つ鱗,丸に三つ鱗

include("plotter.jl")
function mituuroko(; r=1, width=400, height=400, maru=false)
u = sqrt(3)/6*r
!maru && plotbegin(w=width, h=height)
plotpolygon2(0, u, u, 3, lwd=0, fcol=:black)
plotpolygon2(r/4, -0.5u, u, 3, lwd=0, fcol=:black)
plotpolygon2(-r/4, -0.5u, u, 3, lwd=0, fcol=:black)
!maru && plotend()
end
mituuroko()

function marunimituuroko(; r=1, width=400, height=400)
plotbegin(w=width, h=height)
plotcircle(0, 0, r, fcol=:black)
plotcircle(0, 0, 60/70*r, col=:white, fcol=:white)
mituuroko(; r=1.43, maru=true)
plotend()
end
marunimituuroko()