Skip to main content

Questions tagged [curves]

The tag has no usage guidance.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
1 answer
386 views

How to move a portion of bezier/spline curve along its complete bezier/spline curve?

Based on the image below, I have a curve (orange) which is a bezier sub-curve of an original curve (longer black curve). The original curve consists of a number of cubic bezier curves joined together. ...
NotEveryDay's user avatar
3 votes
0 answers
315 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 ...
Thomasfb15's user avatar
2 votes
0 answers
2k views

Z-order curve — how to query all nearest neighbors?

TLDR: How to query all nearest neighbors with the least effort? (Iterating over a bigger neighboring area that's continuous and filtering out elements that are not immediate neighbors?) Suppose the ...
sarasvati's user avatar
  • 121
1 vote
0 answers
45 views

How do I use a Unity unlit Shader to plot a curve with even thickness

I'm new to Unity shaders and I'm using a Unity unlit shader to plot a function of x. For example, y = sin(x). This is very easy with the following code: ...
groszobquivousemmerde's user avatar
1 vote
0 answers
32 views

Move a non-convex polygon's outline inwards?

The polygons are small 3D parts of a quasi sphere centered in the origin and a solution that works in the plane can easily be made to work in this world. I tried to move the outline inwards by using ...
August2323's user avatar
1 vote
1 answer
152 views

Getting coordinates within a bezier space

I have created an object that is comprised of two bezier curves (constructed of an identical finite segments equal to a variable named resolution). The two curves ...
Magikarp's user avatar
1 vote
1 answer
1k views

Unity Animation Curve to change value over time

I am trying to learn how to use AnimationCurve to change a float value over time. However i am not really sure how to do it Say i have the following class: ...
Marc Rasmussen's user avatar
0 votes
0 answers
126 views

How to efficiently path many objects to a moving point?

Working in 3D in the Godot engine, I have an object that moves through space and, like a tornado, is intended to pick up objects in its path. What I have right now is janky, effectively re-baking the ...
Evan C's user avatar
  • 1
0 votes
1 answer
267 views

Moving object parallel to another on path on 2d space

How to Move object parallel to another on curved path on 2d space
0.0's user avatar
  • 1
0 votes
1 answer
295 views

curve of animation in C#

I think that the animation curves in Unity lack the fact of being configurable because they are only chosen with a certain type (no sinusoidal function) and adjustable with handles. How in C # create ...
kaloprat's user avatar
  • 111
0 votes
0 answers
249 views

Unity 2D game object moving up in curve?

How can I make a rigidbody2d game object moving up curve like the attached screenshot?
Eddi's user avatar
  • 103
0 votes
0 answers
73 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 ...
luke1985's user avatar
  • 316