Questions tagged [curves]
129 questions
0
votes
1 answer
Curve Fitting for equation with two parameters
I have two arrays:
E= [6656400;
13322500;
19980900;
26625600;
33292900;
39942400;
46648900;
53290000]
and
J=[0.0000000021;
0.0000000047;
0.0000000128;
0.0000000201;
0.0000000659;
0.0000000748;
…

Hisham Alghamdi
- 51
- 8
0
votes
1 answer
How to parse photoshop curve file(.acv) to get the rgb values?
this is my first post in stackoverflow.
So I have these custom .acv files from photoshop, what I want to do is I am trying to filter a bitmap using colormatrix. To do that, I am parsing those .acv files to get its rgb values to be used by the…

lombee
- 33
- 4
0
votes
0 answers
Animate an element to move between 2 elements in a dynamically created curved path
I've been trying to do this for a project and i failed on every try. The image says it all.
The idea is to create a script to:
Select Start Point and Ending Point elements.
Move "bee" between this 2 elements in a certain time when the function is…

Lucas Rabello Simões
- 25
- 9
0
votes
0 answers
Get Bézier curve coordinates calculated by glMapGrid1d/glEvalMesh1
I am using glEvalMesh1() to calculate the coordinates of a Bézier curve and draw the curve. To be honest I had a hard time finding out how this function works because I am a complete newbie in 3D graphics. Now I managed to draw the curve this…

Tamás
- 298
- 3
- 14
0
votes
1 answer
Cocos2d Touch Bezier (cocos2d V3)
There is a way to create chipmunk shape (physic body) from touches (curves)?
I mean, that I can just create some shape from points, but there is a limitation to the number of vertices and the shape of the figure is angular, rather than convex.
I…

Kikiki
- 71
- 5
0
votes
1 answer
Intersection of two Bézier curves (or two curves and a line): code?
Checking if two cubic Bézier curves intersect gives a link to http://cagd.cs.byu.edu/~557/text/ch7.pdf .. sounds readable on first pass.. but it is not code.
I am wondering if someone has actually implemented this algorithm in any common programming…

Agamemnus
- 1,395
- 4
- 17
- 41
0
votes
1 answer
B spline basis function seems to produce incorrect values
i wanted to implement B-splines in an Java Swing application. And since 4. May i tried nearly everything and spend every minute of my free time, but i don't get them right - i have headach since yesterday :/
To implement the B spline i used the…

Soraphis
- 706
- 7
- 26
0
votes
1 answer
Solve or plot the reverse of an equation in R
I plotted an expression curve, i.e.curve(-log((1-x)/0.9999)/x,ylim=c(0,4)).
However, I want to see the reverse relationship, i.e. y changes over x instead of x changes over y. Are there any R function can plot it automatically? Or a function that…

Verbal
- 147
- 1
- 8
0
votes
1 answer
Writing a code for nonlinear parameter estimation problems
I am struggling in finding a way to write a code which can let me do the following:
I have a nonlinear ODE called fy.
fy = g1*p1+g2*p2+g3*p3; % g1,g2,g3 are real-valued numbers and p1,p2,p3 are vectors
g1, g2 and g3 are constants found by the…

Sergio Haram
- 437
- 4
- 17
0
votes
1 answer
Matrix Size in Matlab
I have two curves with sizes:
size(A) = 1 312 and size(B) = 312
When subtsracting A from B, I got this error message
Error using ==> minus Matrix dimensions must agree.
Can this error be attributed to the order of the matrices where the values…

Samjella Billa
- 11
- 2
0
votes
1 answer
Implementing Catenaries and related curves
Hello first of all I would just like to say that I wouldn't like the answer I would just like to know the method of doing these kinds of equations, because I have been asked to implement this into a macro for excel and have difficulty understanding…

user2970001
- 65
- 1
- 1
- 7
0
votes
1 answer
How to drag curves in processing
I have a xy plot in which I have a straight line. I'm able to drag lines by using mouseX and mouseY values, but I would like to do this for curves.
Firstly how do I make a curve, when I only have co-ordinates for a point and then how can I drag it?

gizgok
- 7,303
- 21
- 79
- 124
0
votes
1 answer
How to generate random points around the curves of characters using processing?
I would like to generate random/noise points along each character of a multiple line text. I've tried this with the Geomerative library, but unfortunately it does not support multi line. Any other solution?

rjth
- 95
- 1
- 3
- 12
0
votes
1 answer
Draw a Smooth Vector Curve Through Close Points using Raphael.js
I'm having trouble drawing a smooth curve through a series of close points using Raphael.js. I've tried all of the curve types except for elliptical and they come out with "bumpy" curves.
see this url showing the image:…

user1592257
- 68
- 2
- 8
0
votes
2 answers
Multiple curves with same Time x-axis in R
Could-you help me please in solving this issue. In fact, i would like to plot multiple curves on the same graph on R with a x-axis which is time labeled.
I tried this :
dayTime = strptime(sapply(c(0:110)+480,…

user1646105
- 103
- 3