Created
January 4, 2021 04:47
-
-
Save congnd/00e3524afd3b889d94fcebbd05266938 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let path = UIBezierPath() | |
path.move(to: startPoint) | |
let endPoint = CGPoint(x: posX + CGFloat.random(in: ), y: 0) | |
let controlPoint1 = CGPoint(x: , y: ) | |
let controlPoint2 = CGPoint(x: , y: ) | |
path.addCurve(to: endPoint, controlPoint1: controlPoint1, controlPoint2: controlPoint2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment