How would I go about creating a function that draws an arc?

Hello, I’m trying to make a function draw an arc, using two points (basically parts) and custom segments for example:


I tried a lot of things but couldn’t achieve this, how can I go and do this?
any help is appreciated!

1 Like

Here is a topic that answers your question.

you can also just read into parabolas overall. Its just math.

2 Likes

Bezier curves are what you want. I have made a video on the topic already.

You basically want to put a point on every alpha then connect them with beams

3 Likes

Thank you so much, I was able so solve this Issue using this method!

Just one more question though, tick(), os.time() & time() which one is the best to use as a time step?

Short answer: os.time() long answer:

1 Like

video isnt available, do you have any other videos of the same sort? im trying to create shadow tendrils which bend towards a player.
ended up finding one:

although im not sure how to implement custom segment lengths where when its more steep, the parts become longer and there are less of them.