Questions tagged [curves]
129 questions
4
votes
2 answers
B-spline curves
I have a set of points which I want to smooth using B-spline curves.
My question is how can I implement B-spline curves to smooth these set of points?
I want to implement this using c++.

Lakshya Kejriwal
- 1,340
- 4
- 17
- 27
3
votes
1 answer
Python: Plot a histogram given the counts (frequencies) and the bins
To illustrate my problem I prepared an example:
First, I have two arrays 'a'and 'b'and I'm interested in their distribution:
import numpy as np
import matplotlib.pyplot as plt
a = np.array([1,2,2,2,2,4,8,1,9,5,3,1,2,9]) …

Jasmina
- 31
- 2
3
votes
1 answer
Interpolate from curve data
I have these curves,
From this curve I can determine the life of a prop shaft due to gyroscopic forces at different yaw angles and certain speeds. I performed curve fitting on data points to get accurate high order polynomials for this interval…

Dan_space
- 31
- 1
3
votes
2 answers
Constant Speed Over Cubic Bezier Curve
The problem that I'm trying to solve is that I can't seem to move a 2D point along a cubic bezier curve at a constant speed.
I followed this tutorial: http://catlikecoding.com/unity/tutorials/curves-and-splines/ to implement the curve initially and…

doomcake
- 25
- 1
- 3
3
votes
0 answers
gnuplot - Wrong default colours for curves
I have recently installed gnuplot on my mac and I am having troubles in managing the curves options correctly:
the default colours are completely mismatched
the dashed or dotted commands seem not to respond (thickness works fine though)
this…

Bruno
- 31
- 1
3
votes
2 answers
gnuplot stacked filledcurves can't show the corrects sum
Currently I working on Gnulot stacked filledcurves. I have problem to make my graphs stacked.
This is my data:
prog reli perf avail sec cons topo scale qos
2011 138 90.3 21.0 63.5 45.5 48.5 6.8 4.0 5.5
2012…

indi60
- 867
- 4
- 17
- 34
2
votes
1 answer
How do i draw an accurate parametric eq curve given gain, freq, and q?
After a lot of googling I still can't find an equation to give me the path I need. I am creating a gui for a parametric eq and just can't get the curve drawing to look or feel accurate. Although I know most eq plugins are just eye candy giving a…

Jon Rose
- 1,457
- 1
- 15
- 25
2
votes
2 answers
Calculate the edge points of a surface defined by 2 bezier curves?
Given the 6 points defining 2 quadratic bezier curves, how do I calculate the points at which the tangents for both curves are the same?
The distance between tangents gets smaller and eventually reaches 0, when they coincide. How do I calculate this…

Robin Rodricks
- 110,798
- 141
- 398
- 607
2
votes
1 answer
Controls for buiding 3d curves & plots in WinForms or WPF
For my course project I need some control for building three-dimensional curves & plots graphs. I've searhed the web, but i was not able to find the needed library.
The basic requironment to the control is the ability to build curve/plot from set…

danyloid
- 1,677
- 3
- 21
- 47
2
votes
1 answer
Rendering curves of TTF fonts
Could you point me to an effective algorithm for rendering and filling the curves used in TTF fonts? I have the data loaded as contours of points so I;m only wondering about an effective way of drawing the curves. I'd also very much like it to…

Albus Dumbledore
- 12,368
- 23
- 64
- 105
2
votes
2 answers
Draw a bezier curve(s) with a set of points from a vector
I was wondering what would be the best and less complicated way of drawing a bezier curve in c++ with a set of points (roughly 100+ points) that are stored inside a vector
From my understanding:
-Bezier curves consist of 4 control points, the points…

ixdlxi
- 21
- 1
- 2
2
votes
1 answer
How to compare two curves (array of points)
I have problem to find method to compare two trajectories (curves).
The first original contains points (x,y).
The second one can be offset, smaller or larger scale, and with rotation - also array with points (x,y)
My first method that i did is to…

anna95
- 21
- 3
2
votes
2 answers
extract dots from curves
I have a black and white picture of curves and I want to extract minimum dots representing each curve. dots are connected by straight lines. this is an example of what I want:
It is useful If I could know the precedence of dots especially in tied…

ahamid555
- 333
- 4
- 16
2
votes
1 answer
Smoothing algorithm, 2.5D
The picture below shows a triangular surface mesh. Its vertices are exactly on the surface of the original 3D object but the straight edges and faces have of course some geometric error where the original surface bends and I need some algorithm to…

Geom
- 827
- 4
- 15
2
votes
2 answers
How to make the Jump animations using curves smoothly?
I've been working on an endless runner game using unity 5 engine studying some examples. I applied jump action to my character. It did work fine but I wanted it to be bit perfect so I implanted the jump using curves with this example,…

Ashane Alvis
- 770
- 2
- 18
- 42