Can draw a bezier curve from any amount of given points. May look messy but I'm pretty sure this is accurate. (Nvm there are errors, I might fix it.) https://scratch.mit.edu/projects/890937172/ is a better implementation I made
Used https://javascript.info/bezier-curve to help me out