Code Sketch


Club
By: JAF
Category: Programming
cleari()
showGrid()
showAxes()
def circle = Picture.circle(50).thatsFilledWith(black).thatsStrokeColored(black)
 
def clubTop = picStack (
   
circle,
circle.thatsTranslated(40, 70).withFlippedY,
circle.thatsTranslated(40, 70).withFlippedY.withFlippedX
)

def clubBottom = picStack(
circle.thatsTranslated(-0,-169).thatsFilledWith(black).thatsStrokeColored(black),

circle.thatsTranslated(-60,-170).thatsFilledWith(white).thatsStrokeColored(white),


circle.thatsTranslated(-60,-170).withFlippedX.thatsFilledWith(white).thatsStrokeColored(white)
)

clubBottom.thatsTranslated(0, 50).draw
clubTop.draw