Created
February 27, 2024 16:31
-
-
Save baku89/72052e21a00ce35a716936a53d6a8560 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
const c = Path.circle([50, 50], 45) | |
const cs = Path.subdiv(c, 5) | |
const p = Path.spawnVertex(cs, (s, i) => { | |
const t = scalar.coswave(i / 10 + time) | |
return Path.arcFromPointsAndAngle( | |
s.start, | |
s.point, | |
scalar.mix(36, -230, t) | |
).curves[0].vertices[1] | |
}) | |
stroke(p, 'black', 3) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment