Code Sketch


Diya
By: Saania Sayed
Category: Programming
cleari
erasePictures()

def shapeFlame = 
    Picture.fromPath { x =>
        x.moveTo(0, 0)
        x.arc(0, 150, 80)
        x.arc(0, 0, 80)
        x.arc(-150, 0, -80)
        x.arc(150, 0, 180)
        x.arc(0, 0, -50)
        x.closePath()
    }

shapeFlame.thatsFilledWith(yellow).draw