spline
Smooth Path traversing in C#
I\'m looking for a C# implementation of a Spline, not to draw it, but to traverse it. Basically I have a 2D game and I want an object to move on a predefined path.[详细]
2023-01-15 21:30 分类:问答How do I draw a vermiculated line in Java?
I know how to draw straight lines but could I draw a line which (around a straight l开发者_高级运维ine i.e.)?[详细]
2023-01-13 07:36 分类:问答Akima interpolation of an array of doubles
Assuming I have an array of doubles, what\'s a good algorithm to sample this series using Akima interpolation? I\'m too stupid to translate that mathematical description into code.[详细]
2023-01-11 18:09 分类:问答(kind of) rotating and slicing elements of a container in C++
I have a std::vector that holds a Point struct (x,y,z and some other non-pointer types). These points are control points for drawing a bspline curve. I\'m not having trouble drawing the curve, but co[详细]
2023-01-06 14:19 分类:问答Create a circle using a Catmull-Rom Spline
I have a class where you enter control points for a catmull-rom spline, and then it returns a list of points running along the spline.[详细]
2022-12-30 22:20 分类:问答Closest point on a cubic Bezier curve?
How can I find the point B(t) along a cubic Bezier curve that is closest to an arbitrary point P in the开发者_运维百科 plane?I\'ve written some quick-and-dirty code that estimates this for Bézier cur[详细]
2022-12-28 12:21 分类:问答How can I smooth an array in R?
I have a 2-D array in R which represents value data for a grid of rows and columns.It looks like this:[详细]
2022-12-17 16:49 分类:问答