Questions tagged [curves]

129 questions
2
votes
1 answer

jQuery filter.me .ACV file conversion

I am using the jQuery filter.me script to apply some filters to my images. The script comes with 6 preset filters, but it says you can convert any Photoshop .acv curves file and apply that as a filter. When I look at the development script, it reads…
Chris
  • 833
  • 2
  • 17
  • 37
2
votes
1 answer

Building a circle with quadratic curves in canvas

I am trying to build a near-perfect circle with quadratic curves in canvas. I have this function for setting up points around a circle and connecting them with quadratic curves: function calcPointsCircle(cx, cy, radius, dashLength) { var n =…
Georgi B. Nikolov
  • 976
  • 2
  • 13
  • 24
2
votes
1 answer

Making eye-diagram with gnuplot

I would like to plot 1000+ curves and display their eye diagram with gnuplot. Example of eye-diagram example with matlab: http://www.mathworks.fr/fr/help/comm/ref/commscope.eyediagram.html I can already plot the curves using the script…
ordepedro
  • 65
  • 8
2
votes
1 answer

ECC - Unable to produce entire cyclic group

I am reading the section about elliptic curve cryptography in Christoffer Paares book ("Understanding Cryptography"). I decided that I would implement a function for elliptic curve point addition and point doubling in python. For my test I used the…
Cshark
  • 101
  • 6
2
votes
1 answer

Flash automatically finds curve intersection points. Can I use that code like I use curveTo in actionscript?

Or do I have to get down and dirty with the math and do the spline intersection math myself? I know the basic math for Quadratic b-splines. I'm trying to make procedural randomly generated Celtic knot-work that animates itself. I'm inspired by the…
2
votes
2 answers

finding a minimum distance

I need to find a point or points on the given circle (or curve) which minimizes d0+d1? the radius and center of the curve are (0,0) and 'r' respectively and the coordinates of points A and B are known. Let say A=(x1,y1) and B=(x1,-y1) and r>…
Norman
  • 121
  • 6
2
votes
2 answers

Rendering B-Spline Curves in OpenGL

I've been working on an OpenGL project that's essentially practice for drawing b-spline curves. My program returns no errors but the curves won't display. Given an array of control points of length 13 named 'coords' (the control points themselves…
JMcMinn
  • 275
  • 3
  • 10
1
vote
0 answers

How do I subdivide a Java curve into an odd number of segments?

I'm using QuadCurve2D.Double at this moment - although Im more than happy to use any other Curve type that can do this. Basically, I am looking to cut a curve into three segments of equal length. While QuadCurve2D contains some handy methods for…
1
vote
1 answer

Plot a curve between two points in canvas

Given a set of points, say (10, 10) and (50, 10), how can I plot a curve between them? My geometry is a bit rusty and I'm not sure of which canvas method to use (arc(), quadradicCurveTo(), etc..). Can anyone point me in the right direction?
ben lemasurier
  • 2,582
  • 4
  • 22
  • 37
1
vote
2 answers

Peano Curve in python tkinter recursive

I'm trying to find out how to draw a peano curve in tkinter. Should I use create_line? My second question is how to start writing peano_curve function recursively: where to start drawing, setting steps, setting shutdown condition and so on. Can…
anonf34
  • 313
  • 1
  • 3
  • 8
1
vote
2 answers

AS3 Gaming - Character moving along curved terrain

I'm trying to create simple 2D action game, something similar to well known Fancy Pants Adventures :) I've been looking for answer for more than week and all I've found is…
mswiszcz
  • 980
  • 1
  • 8
  • 26
1
vote
1 answer

Maxima and Minima Point of a Curve in Python

I have a captured a data from a displacement sensor, the delta values for one iteration look like this. 0, 1, 2, 4, 7, 9, 14, 24, 14, 10, 9, 7, 3 2, 1, 0, 0, 0, 0, -1, -3, -5, -7, -9, -14, -24, -14, -9, -8, -6, -4, -3, -1, 0, 0, 0. (other iterations…
Nitin Kumar
  • 133
  • 1
  • 6
1
vote
1 answer

how to efficiently draw many interactive curves in JavaScript?

I need the ability to efficiently draw a large number of interactive curves (possibly Bezier) in a web app. Imagine a graph-like structure with many draggable elements that are connected with smooth curves. Hence, the curves must adjust in shape and…
Axure
  • 11
  • 1
1
vote
1 answer

How to give edit points on pre created shapes or movieclip so users can edit it?

I want something like this mentioned in the above link but preferably in AS2 as I dont understand AS3. Say User uploads a front facing photo. I give co-ordinates . I want to give user facility to move the points to match eyes and lips on their…
VIP
  • 89
  • 6
1
vote
2 answers

NURBS Curve : maintain length while editing

I'm trying to write an authoring tool for Maya where one of the criterion i have to satisfy is maintain length of a NURBS curve. The authoring tool provides the user the control to edit a NURBS curve , but it should be such that the length of the…
Krishnan
  • 385
  • 2
  • 5
  • 12
1 2
3
8 9