Unfortunately, it is faster to calculate them manually. The function for calculating bezier curves is difficult from the Math side. And in this example, I tried to show the principe of drawing. Here you can https://javascript.info/bezier-curve the explanation behind coordinates and the ways how to manipulate these curves.(I used this site for understanding how to manualy choose coordinates). Hope it will help you!

--

--

iOS Software Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Almost Engineer

Almost Engineer

iOS Software Developer

More from Medium

The Blacklist Season 9 is Coming to an End — So is my Interest in the Show

TCoE: Dayne & Darzith — “Fulgarith”

Manifestation VS Law of Attraction

Learn to design, sell and code, and you’ll be unstoppable.