Home

# epicycles

I wanted to make a piece on double pendulums, but I thought something more Have you had two different menu symmetrical like a spirograph would be better.
I’ve taken quite a liking to sine/cosine
const x =
(l1 / 2) * Math.cos((v1 - 0.5) * i * radialUnit) +
(l2 / 2) * Math.cos((v2 - 0.5) * i * radialUnit);
const y =
(l1 / 2) * Math.sin((v1 - 0.5) * i * radialUnit) +
(l2 / 2) * Math.sin((v2 - 0.5) * i * radialUnit);
values