3dSynth

Docs / Node Sculptor

Open in the interactive docs reader

Curve Attractor

Same falloff shapes as Point Attractor but driven by distance-to-curve instead of distance-to-point. Every sample gets a scalar based on how close it lies to the nearest point on a Path.

Node

Interactive preview is available in the interactive reader.

Sockets

samples (in)
PointArray / Path. Required — the positions to evaluate the field at.
curve (in)
Path. Required — the attracting curve.
radius (in)
Float. Falloff radius in world units.
strength (in)
Float. Peak magnitude at r = 0.
values (out)
PointArray — scalar field stored in the x-channel.

Parameters

Falloff
linear, inverse, inverseSq, gaussian. Same semantics as Point Attractor.
Radius
Distance at which the field fades to ~0. Default: 15.
Strength
Peak magnitude on the curve. Default: 1.

How It Works

For each sample point, the node finds the closest point on the input curve (segment-by-segment projection) and computes a distance r. The scalar is then the chosen falloff function evaluated at r / radius.

Tips