Isolines

Draws contour lines of the charges' field at several levels, like a topographic map.

Node id field/isolines

The Isolines node draws the contour lines of the same field as Metaballs: for each level, the line where the charges' combined influence equals it. Several levels around a few charges look like the contour lines of a hilly map.

Inputs

NameTypeDefaultNotes
chargesArray<PointScalar>—
boundsBoundingBox—
countnumber5
minnumber0.5
maxnumber2.5
levelsArray<number>—
cellSizenumber4
falloffMetaballFalloff"inverse-square"
smoothbooleanfalse

Outputs

NameTypeNotes
linesArray<Renderable>
levelsArray<number>

Behaviour

  • Levels. count levels evenly spaced from min to max (both included; with count 1, just min). Connect a list of numbers to levels, for example from Range, to choose them yourself: count, min and max are then ignored. A level is a field value, so with a lone charge level 1 is at its radius, level 4 at half of it and level 0.25 at twice it.
  • Closed and open lines. A contour that stays inside bounds is a closed Polygon with a transparent fill; one that runs off the edge is an open Polyline. With smooth on they're a ClosedSpline and a Spline instead.
  • Levels output. levels has one entry per line, the level it was drawn at, so lines can be styled by height, e.g. by mapping both lists through Map by index.
  • Falloff, resolution, negative charges work as in Metaballs.

Errors

  • bounds must be connected (for example from Page).
  • count must be a whole number from 1 to 100, and a connected levels list can have at most 100 numbers; a non-finite level is a node error.
  • A non-finite charge, a cellSize that isn't positive, more than 250 000 grid cells or more than 1 000 charges are node errors.

Example

Five levels around three charges.

Contour lines around three chargesOpen in Playground
© 2026 Wirepaint