How to calculate a Bézier curve with only start and end points?
$begingroup$
This animation from Wikipedia shows basically what I want to accomplish, however - I'm hoping to have it flipped around, where it starts progressing more towards the destination and "up" (in this image), and then arcs more directly to the end point. However, I only have access to a starting point and ending point, what I am hoping to do is be able to determine the other points by specifying a "height" (or width, whatever you want to call it), to determine how high the arc actually goes.
Help or direction would be appreciated.
geometry algorithms bezier-curve
$endgroup$
add a comment |
$begingroup$
This animation from Wikipedia shows basically what I want to accomplish, however - I'm hoping to have it flipped around, where it starts progressing more towards the destination and "up" (in this image), and then arcs more directly to the end point. However, I only have access to a starting point and ending point, what I am hoping to do is be able to determine the other points by specifying a "height" (or width, whatever you want to call it), to determine how high the arc actually goes.
Help or direction would be appreciated.
geometry algorithms bezier-curve
$endgroup$
1
$begingroup$
Can you post a sketch of what you are trying to accomplish? Also, you could look into quadratic Bézier curves.
$endgroup$
– Rahul
Oct 28 '10 at 4:32
$begingroup$
Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.
$endgroup$
– J. M. is not a mathematician
Oct 28 '10 at 4:37
$begingroup$
en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$
$endgroup$
– Mateen Ulhaq
Oct 28 '10 at 5:16
$begingroup$
If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.
$endgroup$
– Justin L.
Oct 28 '10 at 5:48
add a comment |
$begingroup$
This animation from Wikipedia shows basically what I want to accomplish, however - I'm hoping to have it flipped around, where it starts progressing more towards the destination and "up" (in this image), and then arcs more directly to the end point. However, I only have access to a starting point and ending point, what I am hoping to do is be able to determine the other points by specifying a "height" (or width, whatever you want to call it), to determine how high the arc actually goes.
Help or direction would be appreciated.
geometry algorithms bezier-curve
$endgroup$
This animation from Wikipedia shows basically what I want to accomplish, however - I'm hoping to have it flipped around, where it starts progressing more towards the destination and "up" (in this image), and then arcs more directly to the end point. However, I only have access to a starting point and ending point, what I am hoping to do is be able to determine the other points by specifying a "height" (or width, whatever you want to call it), to determine how high the arc actually goes.
Help or direction would be appreciated.
geometry algorithms bezier-curve
geometry algorithms bezier-curve
edited Dec 25 '18 at 21:30
Glorfindel
3,42981830
3,42981830
asked Oct 28 '10 at 4:18
Frustrated Guy
1
$begingroup$
Can you post a sketch of what you are trying to accomplish? Also, you could look into quadratic Bézier curves.
$endgroup$
– Rahul
Oct 28 '10 at 4:32
$begingroup$
Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.
$endgroup$
– J. M. is not a mathematician
Oct 28 '10 at 4:37
$begingroup$
en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$
$endgroup$
– Mateen Ulhaq
Oct 28 '10 at 5:16
$begingroup$
If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.
$endgroup$
– Justin L.
Oct 28 '10 at 5:48
add a comment |
1
$begingroup$
Can you post a sketch of what you are trying to accomplish? Also, you could look into quadratic Bézier curves.
$endgroup$
– Rahul
Oct 28 '10 at 4:32
$begingroup$
Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.
$endgroup$
– J. M. is not a mathematician
Oct 28 '10 at 4:37
$begingroup$
en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$
$endgroup$
– Mateen Ulhaq
Oct 28 '10 at 5:16
$begingroup$
If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.
$endgroup$
– Justin L.
Oct 28 '10 at 5:48
1
1
$begingroup$
Can you post a sketch of what you are trying to accomplish? Also, you could look into quadratic Bézier curves.
$endgroup$
– Rahul
Oct 28 '10 at 4:32
$begingroup$
Can you post a sketch of what you are trying to accomplish? Also, you could look into quadratic Bézier curves.
$endgroup$
– Rahul
Oct 28 '10 at 4:32
$begingroup$
Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.
$endgroup$
– J. M. is not a mathematician
Oct 28 '10 at 4:37
$begingroup$
Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.
$endgroup$
– J. M. is not a mathematician
Oct 28 '10 at 4:37
$begingroup$
en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$
$endgroup$
– Mateen Ulhaq
Oct 28 '10 at 5:16
$begingroup$
en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$
$endgroup$
– Mateen Ulhaq
Oct 28 '10 at 5:16
$begingroup$
If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.
$endgroup$
– Justin L.
Oct 28 '10 at 5:48
$begingroup$
If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.
$endgroup$
– Justin L.
Oct 28 '10 at 5:48
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I had a related problem, where I knew the four points (start, end, two control points) and needed to generate the height (which it turns out is called the Sagitta). Here's my question:
Find sagitta of a cubic Bézier-described arc
My maths isn't strong enough to work it backwards, but you may be able to decode it from one of the very helpful answers there.
$endgroup$
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f8141%2fhow-to-calculate-a-b%25c3%25a9zier-curve-with-only-start-and-end-points%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I had a related problem, where I knew the four points (start, end, two control points) and needed to generate the height (which it turns out is called the Sagitta). Here's my question:
Find sagitta of a cubic Bézier-described arc
My maths isn't strong enough to work it backwards, but you may be able to decode it from one of the very helpful answers there.
$endgroup$
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
add a comment |
$begingroup$
I had a related problem, where I knew the four points (start, end, two control points) and needed to generate the height (which it turns out is called the Sagitta). Here's my question:
Find sagitta of a cubic Bézier-described arc
My maths isn't strong enough to work it backwards, but you may be able to decode it from one of the very helpful answers there.
$endgroup$
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
add a comment |
$begingroup$
I had a related problem, where I knew the four points (start, end, two control points) and needed to generate the height (which it turns out is called the Sagitta). Here's my question:
Find sagitta of a cubic Bézier-described arc
My maths isn't strong enough to work it backwards, but you may be able to decode it from one of the very helpful answers there.
$endgroup$
I had a related problem, where I knew the four points (start, end, two control points) and needed to generate the height (which it turns out is called the Sagitta). Here's my question:
Find sagitta of a cubic Bézier-described arc
My maths isn't strong enough to work it backwards, but you may be able to decode it from one of the very helpful answers there.
edited Apr 13 '17 at 12:19
Community♦
1
1
answered May 23 '11 at 21:29
GeoffGeoff
1435
1435
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
add a comment |
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
$begingroup$
I suspect that in the past 7 months the OP has either solved his problem or moved on.
$endgroup$
– Peter Taylor
May 23 '11 at 21:43
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f8141%2fhow-to-calculate-a-b%25c3%25a9zier-curve-with-only-start-and-end-points%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
Can you post a sketch of what you are trying to accomplish? Also, you could look into quadratic Bézier curves.
$endgroup$
– Rahul
Oct 28 '10 at 4:32
$begingroup$
Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.
$endgroup$
– J. M. is not a mathematician
Oct 28 '10 at 4:37
$begingroup$
en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$
$endgroup$
– Mateen Ulhaq
Oct 28 '10 at 5:16
$begingroup$
If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.
$endgroup$
– Justin L.
Oct 28 '10 at 5:48