Inspired by 'The Beauty of Bézier Curves' by Freya Holmér. Check here for details and source code.