Last active
February 18, 2024 15:24
-
-
Save baku89/f64f7313dd8b41169558ec22f7d77263 to your computer and use it in GitHub Desktop.
Demo of Path.arcFromPoints
This file contains hidden or 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
const start = [80, 10] | |
const through = [50 + scalar.sin(time * 360) * 30, 50] | |
const end = [30, 90] | |
const arc = Path.arcFromPoints(start, through, end) | |
debug(arc, '#000') | |
dot(through, 'blue') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment