Where to plot points to create a specific line [ BEZIER CURVES]

  1. **What do you want to achieve?
    I want to make a bezier curve, however I do not know where to plot the lines to create this specific line

  2. What is the issue?


    I want to plot a curve that follows the tracks, however I cant find a solution or a calculator to help me calculate where to plot the points to make this bezier curve

Does anyone know of any calculators that i can use to calculate this. I have tried looking online but i cant find a tutorial for this

1 Like

You can use Demos calculator to figure out a curve using an equation.

How do i use the desmos calculator

I might not understand the problem, but I feel you might be overcomplicating it. Most applications I can think of would work just by using those points directly as an approximation. (Since in practice the curves get sampled at points anyways). I suspect actually solving for points for a curve is very involved if you really want to do it mathematically.

Can you clarify why you want the control points, and how you have those without having the control points in the first place?

I didn’t really understand what you’re trying to achieve, so I quickly put together this bezier visualiser in desmos. Have a look here.

I have a existing line. I want to know where to place the 3 points of a bezier curve so that the curve follows that line

And, what is this for specifically? Do you generate the existing line through a script?

the line is for a tween. I generate the bezier curve with a script

Can you show the script you used to generate the existing curve?

Wait. Yk, my problems is that, I want to make a bezier curve that forms a line. Let say I want to form this line


Where do I have to place the 3 points so that I can generate a curve like this. (Cause Im using a bezierCurve Module Bhristt's Bezier Curve Module (Tween support)), so I only have to plot the points while the module generates it for me

Alright, but why do you wanna do that instead of just constructing curve from points?

The bezierCurves are actually for a train, which is being tweened along the tracks. I actually made the tracks before I learnt about bezierCurves.
image
If i were to construct the curve from points then I would have to rebuilt all the tracks again. Something like this.

So i want to plot points that make a curve that follow the tracks

If you’d like to find the 3 points that look best to you, you can use this Desmos Graph: Bezier Curves | Desmos

Just enable 10 and disable 11 on the side panel, for 3 points.
image

3 Likes

do yk how i can get 5 points on the graph

Nevermind, I figured it out. Desmos workeed. Thank you sm

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.