Using SVG

Circle Rect

Circle

Select Color:

Rect

Select Color:



Ref: Eloquent JavaScript, Chap 17