The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
3answers
220 views

Points evenly spaced along a bezier curve

I have looked around for a while and I can't find a solution to this problem. Let's say I have a cubic bezier curve (defined by 4 points) and I want to get a set of points that are spaced evenly along ...
1
vote
1answer
307 views

Start iTween MoveTo from a specific node? (Unity)

I just started using iTween as part of my day/night cycle. I'm trying to move the sun and moon along a curve, but I want have the sun/moon start at a specific location depending on the time of day. ...
3
votes
0answers
60 views

Check if a point is touching a user drawn curve in HTML5 canvas

I am having trouble detecting whether a ball is colliding with a red curve. The curve below is an example of what a user may draw on to the canvas. I can't think of any fast ways to detect collision ...
2
votes
0answers
131 views

What's the most optimized way to transform series of points into curves in order to be serialized?

I’m working on a video game where I need to display a map (in 2D) of an actual big European city (Paris, London, Madrid… that kind of big) and the player, displayed as a simple dot on the map, can ...
0
votes
0answers
29 views

Canvas - Cache large curves

Is there any way to cache large curves in javascript or a faster way than the native? I'm already caching scalable shapes, and it gives really huge performance benefits. They only get redrawn if they ...
0
votes
0answers
47 views

Constantly interpolated splines

Trying to implement a movement through a curve - I'm trying to find a type of curve/spline that interpolates constantly. What I mean: when I interpolate from t=0 to t=0.1, I want it be the same ...