I'm having a bit of a headache with this one, I have a bezier on a plane and I'm trying to map the tangent of each point on the nearest geometry of the plane with geo nodes.

I have a Sample Curve node that outputs the curve tangent information, with the Factor controlling where to sample the info along the curve.

Sample Curve controlling the tangent information

But I can't figure out how to map on the plane, the nearest tangent value of the curve. I've tried messing around with Sample Nearest, Geometry Proximity, but I have no clue what to do next. So if you refer to the image above, I want to see a gradient from yellow to the left of the curve, to red at the opposite end of the curve. I need it to work no matter the complexity of the curve (It's to make a flowmap of rivers and stuff like that)

Any clues ?

Thanks a lot for your help!

Blender version : 3.5.0


1 Answer 1


Should work like this:

enter image description here

Tricky part that sample nearest doesn't work with curves, so you have to convert it to mesh

  • $\begingroup$ Is this node mini-map at the bottom a new feature or an add-on? $\endgroup$
    – Blunder
    May 15 at 14:44
  • $\begingroup$ Thank you SOOOOO much I was going crazy with this haha, it's exactly what I need. Now I can drive my flow map with the curve tangent. $\endgroup$
    – Wolven
    May 15 at 14:50
  • 1
    $\begingroup$ @Blunder this is an add-on: github.com/strike-digital/node_minimap $\endgroup$
    – Crantisz
    May 15 at 20:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .