The good pseudo-half-circle-like curves that quadratic bezier curves can create
$begingroup$
Since quadratic bezier curves can only approximate circles, I'm wondering what they can actually do well. That is, the sort of half-circle-like shapes that quadratic curves can make. For instance, in the letter u
, maybe it's no good at creating a half-circle, but it might be really good at creating the U shape in some other fashion, maybe with just 1 or two curves that has some x contour. Wondering what that curve looks like and what is definition or properties are.
circle bezier-curve
$endgroup$
add a comment |
$begingroup$
Since quadratic bezier curves can only approximate circles, I'm wondering what they can actually do well. That is, the sort of half-circle-like shapes that quadratic curves can make. For instance, in the letter u
, maybe it's no good at creating a half-circle, but it might be really good at creating the U shape in some other fashion, maybe with just 1 or two curves that has some x contour. Wondering what that curve looks like and what is definition or properties are.
circle bezier-curve
$endgroup$
$begingroup$
Do you have a particular definition of "well", e.g., general visual similarity, minimum # of curves required to approximate, small maximum difference, minimal total squared differences, low total absolute differences, etc.?
$endgroup$
– John Omielan
Jan 23 at 3:00
$begingroup$
Basically what they can do with the minimum amount of curves where you're not trying to force it into something it can't do accurately and easily (like a circle). Minimum data to get a U-like arc (not a parabola).
$endgroup$
– Lance Pollard
Jan 23 at 3:02
$begingroup$
Thanks for the clarification.
$endgroup$
– John Omielan
Jan 23 at 3:04
add a comment |
$begingroup$
Since quadratic bezier curves can only approximate circles, I'm wondering what they can actually do well. That is, the sort of half-circle-like shapes that quadratic curves can make. For instance, in the letter u
, maybe it's no good at creating a half-circle, but it might be really good at creating the U shape in some other fashion, maybe with just 1 or two curves that has some x contour. Wondering what that curve looks like and what is definition or properties are.
circle bezier-curve
$endgroup$
Since quadratic bezier curves can only approximate circles, I'm wondering what they can actually do well. That is, the sort of half-circle-like shapes that quadratic curves can make. For instance, in the letter u
, maybe it's no good at creating a half-circle, but it might be really good at creating the U shape in some other fashion, maybe with just 1 or two curves that has some x contour. Wondering what that curve looks like and what is definition or properties are.
circle bezier-curve
circle bezier-curve
asked Jan 23 at 2:56


Lance PollardLance Pollard
1,358926
1,358926
$begingroup$
Do you have a particular definition of "well", e.g., general visual similarity, minimum # of curves required to approximate, small maximum difference, minimal total squared differences, low total absolute differences, etc.?
$endgroup$
– John Omielan
Jan 23 at 3:00
$begingroup$
Basically what they can do with the minimum amount of curves where you're not trying to force it into something it can't do accurately and easily (like a circle). Minimum data to get a U-like arc (not a parabola).
$endgroup$
– Lance Pollard
Jan 23 at 3:02
$begingroup$
Thanks for the clarification.
$endgroup$
– John Omielan
Jan 23 at 3:04
add a comment |
$begingroup$
Do you have a particular definition of "well", e.g., general visual similarity, minimum # of curves required to approximate, small maximum difference, minimal total squared differences, low total absolute differences, etc.?
$endgroup$
– John Omielan
Jan 23 at 3:00
$begingroup$
Basically what they can do with the minimum amount of curves where you're not trying to force it into something it can't do accurately and easily (like a circle). Minimum data to get a U-like arc (not a parabola).
$endgroup$
– Lance Pollard
Jan 23 at 3:02
$begingroup$
Thanks for the clarification.
$endgroup$
– John Omielan
Jan 23 at 3:04
$begingroup$
Do you have a particular definition of "well", e.g., general visual similarity, minimum # of curves required to approximate, small maximum difference, minimal total squared differences, low total absolute differences, etc.?
$endgroup$
– John Omielan
Jan 23 at 3:00
$begingroup$
Do you have a particular definition of "well", e.g., general visual similarity, minimum # of curves required to approximate, small maximum difference, minimal total squared differences, low total absolute differences, etc.?
$endgroup$
– John Omielan
Jan 23 at 3:00
$begingroup$
Basically what they can do with the minimum amount of curves where you're not trying to force it into something it can't do accurately and easily (like a circle). Minimum data to get a U-like arc (not a parabola).
$endgroup$
– Lance Pollard
Jan 23 at 3:02
$begingroup$
Basically what they can do with the minimum amount of curves where you're not trying to force it into something it can't do accurately and easily (like a circle). Minimum data to get a U-like arc (not a parabola).
$endgroup$
– Lance Pollard
Jan 23 at 3:02
$begingroup$
Thanks for the clarification.
$endgroup$
– John Omielan
Jan 23 at 3:04
$begingroup$
Thanks for the clarification.
$endgroup$
– John Omielan
Jan 23 at 3:04
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I can think of a few good things about quadratic Bézier curves:
- They can represent parabolas exactly. Cubic curves can do this too, of course, but not as economically.
- It's very easy to do computations with them. For example, intersection with a straight line requires only solution of a quadratic equation.
- They are easy to convert to implicit form, so it's easy to check whether a given point lies on the curve.
- Their shapes are very predictable. If the control points are $A$, $B$, $C$, then the curve passes through the point $tfrac12bigl(B + tfrac12(A+C) bigr)$, and it's tangent at this point to the line joining $tfrac12(A+B)$ and $tfrac12(B+C)$. So, there is an obvious and direct relationship between the shape of the control polygon and the shape of the curve.
- Quadratics never have inflexions, which is important in some design scenarios.
If you want to approximate some complex shape, then using quadratic pieces will require you to use more (and shorter) segments than when using cubics. But each quadratic segment will require less data than a cubic one. Compare TrueType fonts (quadratic segments) with Postscript ones (cubic segments) to get a sense of this.
$endgroup$
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%2f3084017%2fthe-good-pseudo-half-circle-like-curves-that-quadratic-bezier-curves-can-create%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 can think of a few good things about quadratic Bézier curves:
- They can represent parabolas exactly. Cubic curves can do this too, of course, but not as economically.
- It's very easy to do computations with them. For example, intersection with a straight line requires only solution of a quadratic equation.
- They are easy to convert to implicit form, so it's easy to check whether a given point lies on the curve.
- Their shapes are very predictable. If the control points are $A$, $B$, $C$, then the curve passes through the point $tfrac12bigl(B + tfrac12(A+C) bigr)$, and it's tangent at this point to the line joining $tfrac12(A+B)$ and $tfrac12(B+C)$. So, there is an obvious and direct relationship between the shape of the control polygon and the shape of the curve.
- Quadratics never have inflexions, which is important in some design scenarios.
If you want to approximate some complex shape, then using quadratic pieces will require you to use more (and shorter) segments than when using cubics. But each quadratic segment will require less data than a cubic one. Compare TrueType fonts (quadratic segments) with Postscript ones (cubic segments) to get a sense of this.
$endgroup$
add a comment |
$begingroup$
I can think of a few good things about quadratic Bézier curves:
- They can represent parabolas exactly. Cubic curves can do this too, of course, but not as economically.
- It's very easy to do computations with them. For example, intersection with a straight line requires only solution of a quadratic equation.
- They are easy to convert to implicit form, so it's easy to check whether a given point lies on the curve.
- Their shapes are very predictable. If the control points are $A$, $B$, $C$, then the curve passes through the point $tfrac12bigl(B + tfrac12(A+C) bigr)$, and it's tangent at this point to the line joining $tfrac12(A+B)$ and $tfrac12(B+C)$. So, there is an obvious and direct relationship between the shape of the control polygon and the shape of the curve.
- Quadratics never have inflexions, which is important in some design scenarios.
If you want to approximate some complex shape, then using quadratic pieces will require you to use more (and shorter) segments than when using cubics. But each quadratic segment will require less data than a cubic one. Compare TrueType fonts (quadratic segments) with Postscript ones (cubic segments) to get a sense of this.
$endgroup$
add a comment |
$begingroup$
I can think of a few good things about quadratic Bézier curves:
- They can represent parabolas exactly. Cubic curves can do this too, of course, but not as economically.
- It's very easy to do computations with them. For example, intersection with a straight line requires only solution of a quadratic equation.
- They are easy to convert to implicit form, so it's easy to check whether a given point lies on the curve.
- Their shapes are very predictable. If the control points are $A$, $B$, $C$, then the curve passes through the point $tfrac12bigl(B + tfrac12(A+C) bigr)$, and it's tangent at this point to the line joining $tfrac12(A+B)$ and $tfrac12(B+C)$. So, there is an obvious and direct relationship between the shape of the control polygon and the shape of the curve.
- Quadratics never have inflexions, which is important in some design scenarios.
If you want to approximate some complex shape, then using quadratic pieces will require you to use more (and shorter) segments than when using cubics. But each quadratic segment will require less data than a cubic one. Compare TrueType fonts (quadratic segments) with Postscript ones (cubic segments) to get a sense of this.
$endgroup$
I can think of a few good things about quadratic Bézier curves:
- They can represent parabolas exactly. Cubic curves can do this too, of course, but not as economically.
- It's very easy to do computations with them. For example, intersection with a straight line requires only solution of a quadratic equation.
- They are easy to convert to implicit form, so it's easy to check whether a given point lies on the curve.
- Their shapes are very predictable. If the control points are $A$, $B$, $C$, then the curve passes through the point $tfrac12bigl(B + tfrac12(A+C) bigr)$, and it's tangent at this point to the line joining $tfrac12(A+B)$ and $tfrac12(B+C)$. So, there is an obvious and direct relationship between the shape of the control polygon and the shape of the curve.
- Quadratics never have inflexions, which is important in some design scenarios.
If you want to approximate some complex shape, then using quadratic pieces will require you to use more (and shorter) segments than when using cubics. But each quadratic segment will require less data than a cubic one. Compare TrueType fonts (quadratic segments) with Postscript ones (cubic segments) to get a sense of this.
edited Feb 5 at 6:27
answered Jan 31 at 23:16


bubbabubba
30.7k33188
30.7k33188
add a comment |
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%2f3084017%2fthe-good-pseudo-half-circle-like-curves-that-quadratic-bezier-curves-can-create%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
$begingroup$
Do you have a particular definition of "well", e.g., general visual similarity, minimum # of curves required to approximate, small maximum difference, minimal total squared differences, low total absolute differences, etc.?
$endgroup$
– John Omielan
Jan 23 at 3:00
$begingroup$
Basically what they can do with the minimum amount of curves where you're not trying to force it into something it can't do accurately and easily (like a circle). Minimum data to get a U-like arc (not a parabola).
$endgroup$
– Lance Pollard
Jan 23 at 3:02
$begingroup$
Thanks for the clarification.
$endgroup$
– John Omielan
Jan 23 at 3:04