I have a single path (created by trailing uv from a panel CHOP and then converted via limit SOP) and I need to figure out the amount of curvature, i.e. get a value between 0 and 1 (per point) depending on how much the path “curves”. I looked at the curvature expression, but couldn’t get it to work. thx

Something using the slope CHOP perhaps? You mean curvature as in the change in direction from the previous point?

slope CHOP kinda works, but it’s not based on curvature, i.e. if I draw a straight line very fast I get a different slope than if I draw a straight line slowly. With a “curvature” based approach, I should get the same value for a straight line, independent of the speed I draw it. But if I draw an arc, i’d get some kind of “roundness” value. Any more ideas?

You could resample it to fixed spatial lengths, then take it back into CHOPs to evaluate slope?

Still not a roundness value though, but at least normalizes the slope values.

HI Achim,

are you trying to recognise gestures with this?

thx for the normalize tip malcolm.

narp, it’s for the drawing engine for our laser tag app.