import PlaygroundSupport
import TortoiseGraphics
import CoreGraphics


let myFrame = CGRect(x: 0, y: 0, width: 500, height: 500)
let canvas = PlaygroundCanvas(frame: myFrame)
canvas.frameRate = 300
canvas.color = .white
PlaygroundPage.current.liveView = canvas

//drawing flower
canvas.drawing { t in
    t.penDown()
   t.drawcosmos()
//draw rose
   t.Rose
}



