Questions tagged [bezier]

{bezier} A Bézier curve is a type of polynomial curve, which has great application in computer graphics.

Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

Remove unwanted gap before the arrow ending a bezier curve in TikZ

Feeding \documentclass{article} \pagestyle{empty} \usepackage{tikz} \usetikzlibrary{calc,bending} \begin{document} \begin{tikzpicture} \node[circle,draw] (N) at (15em,2ex) {}; \coordinate (C) at (...
user avatar
0 votes
0 answers
38 views

Where can I find the analytic formulas for the characters in a font?

I would like to create an animation starting from one of the characters (say $x$) in the standard math font in LaTeX. I am not a calligraphy expert, but I believe the characters are built by filling ...
user avatar
  • 219
1 vote
1 answer
168 views

Understanding Bézier Curves in Asymptote

I am trying to correct Mathics' ability to draw Bézier curves properly in Asymptote, and I have a hard time understanding how to translate Mathematica's Specification into Asymptote. I haven't found ...
user avatar
  • 165
1 vote
1 answer
70 views

How to Scale the Display Size of a Cropped Image

The basis of the following code Cf. How can I clip an image via a bezier-path? Consider \documentclass{article} \usepackage{tikz} \usepackage{graphicx} \newif\ifdeveloppath \tikzset{/...
user avatar
  • 4,907
0 votes
0 answers
65 views

Extract coordinates from an EPS file to TikZ

Apologies in advance if the question is off topic. I believe it is proper of TeX and LaTeX Stack Exchange, as it is about TikZ, after all, but if I am mistaken, please redirect me to the proper forum. ...
user avatar
  • 389
0 votes
0 answers
44 views

How to find maximum of bezier curve

Is there an easy way to find the maximum of a bezier curve/path? My intention is to draw a vertical line where the curve has its maximum. I did it "by hand" and it does the job, but I'd ...
user avatar
  • 43
1 vote
1 answer
157 views

Plotting a curve using "plot function" Vs Bezier curve (Method of tangents)

Regarding the shown MWE, I need to plot a parabola with the following properties: Parabola starts at point "A" Parabola ends at point "B" Peak of the parabola is at point "F&...
user avatar
  • 733
2 votes
2 answers
103 views

Replicate a curve

I'm to trying to adapt the code here to replicate the following image. While I can do the axis and the labeling I cannot produce the curve. I do not understand what exactly the code does. Could ...
user avatar
  • 1,271
2 votes
2 answers
406 views

Label on an arrow in tikz

This question is a follow-up for my badly accepted Bézier curves for arrows in tikz I have come up with the following. The Bézier-curve arrow works, but my label doesn't: \documentclass{article} ...
user avatar
  • 747
5 votes
1 answer
203 views

Bezier curve for a loop

I would like to enhance the output given by the following code : see the picture below where the end of the arrow is lower and the loop "bigger". To do this I need a better control of the Bezier ...
user avatar
  • 11.4k
6 votes
2 answers
915 views

Looseness for Bezier controls. Or how to bend in circularly symmetric tikz-drawings (without bend left, etc.)

If I want to draw a something with circular symmetry, e.g joining pair of points by arcs as shown in the picture with only two, I face the problem of not being able to use the edge bending. This is ...
user avatar
  • 4,498
1 vote
1 answer
61 views

Problem in Bézier curves with pgfplots for relative negative coordinates

I attempted to plot some Bézier curves in a pgfplots graph. This works well when the coordinates are positive. See: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{...
user avatar
  • 1,056
1 vote
2 answers
138 views

Shift control points from Bezier curves

Is it possible to add an offset to the control points of the bezier curves to make my red line to pass through the center of the point cloud? Here is my mwe: \documentclass{article} \usepackage{...
user avatar
  • 743
1 vote
1 answer
253 views

Curve drawing in TIKZ - evenly spaced points

I have a certain number of points, using which I want to draw a spline/bezier curve "through" the points. When the curve is drawn, I want to automagically put along the curve p equally spaced points. (...
user avatar
3 votes
0 answers
204 views

Control Points affect the size of Tikzpicture

I have created the following graph using TikZ. As you can see, the area of the tikzpicture is unnecessarily large. I believe that this is due to the inclusion of the invisible control points in the ...
user avatar
  • 1,800
6 votes
2 answers
1k views

How are quadratic Bezier curves drawn by TikZ?

I'm trying to understand how exactly Bezier curves are drawn by TikZ. According to wikipedia, the parametrization of a quadratic Bezier curve is given by B(t) = (1 - t) ((1 - t) P0 + t P1) + t ((1 - t)...
user avatar
  • 7,811
1 vote
0 answers
223 views

tikz bounding box of a cubic Bézier curve [duplicate]

This document \documentclass[DIV=16]{scrartcl} \usepackage{tikz} \pagestyle{empty} \begin{document} \hrule \begin{center} \begin{tikzpicture}[scale=.3] \draw[domain=-1:5] plot (\x,{0.5*\x*\x*(\x-...
user avatar
1 vote
0 answers
57 views

Maximum degree of curves with exact rendering?

Are cubic curves (cubic Bézier curves to be more exact) the maximum degree that one can output without conversion to straight lines? I was looking at the documentation for the pst-func package and ...
user avatar
  • 227
2 votes
1 answer
96 views

Empty areas in figure and optimal curve fitting

I need to create a logo (well, a part of it) as an outline. The relevant part in MetaPost looks: beginfig(1) path ellipse; ellipse = fullcircle xscaled 5in yscaled 1in; for k = 0 step 45 until ...
user avatar
3 votes
1 answer
544 views

Drawing ticks/arrows along a Bezier curve in PStricks

Along the lines of this question, I would like to know if there is a way to automate tick drawing along a curve generated by psbezier in PSTricks (and potentially pspolygon and more complex curves ...
user avatar
  • 141
3 votes
2 answers
283 views

Shift bezier curve as a whole in tikz

Is there an easy way to shift a bezier curve as a whole, e.g. 2cm in x-direction,1 cm in y-direction without changing the control points? \documentclass[11pt]{standalone} \usepackage{tikz} \...
user avatar
  • 359
3 votes
1 answer
2k views

How to mark a point at a precise coordinate on a curved line in Tikz

I want to place two points on a trajectory, drawn as a curved line. I have manage to draw my curved line using controls. So i have this image : with the following code : \begin{tikzpicture} \draw (...
user avatar
2 votes
1 answer
144 views

Defining bezier control points in relatively defined line rather than coordinates

Found it hard to write the title, I hope it makes sense. We can define control points in bezier curves with \draw (0,0) .. controls (0.5,0.5) .. (0,1); and we can define a drawn line differently ...
user avatar
  • 1,163