ArrayPointsProximity Op

ArrayPointsProximity

Connects 3D points based on a proximity threshold to generate line segments and vertex colors for a dynamic Plexus effect.


It calculates the spatial distance between all coordinates in an input array and generates line segments for points that fall within the defined maximum radius. The operator also outputs an RGBA color array with automatic alpha blending, causing the connections to smoothly fade out as they reach the distance limit.


Full Name
  • Ops.Patch.PPNTIBt.ArrayPointsProximity
VisibilityLicense
  • MIT
AuthorCreated
  • Aug 28, 2026 at 17:56
Core Libraries
  • cgl



ArrayPointsProximity - Example

Calculates the spatial distance between all coordinates in an input array and generates line segments for points that fall within the defined maximum radius. The operator also outputs an RGBA color array with automatic alpha blending, causing the connections to smoothly fade out as they reach the distance limit.

Open In Editor

INPUT PORTS


Points Array (Array)

Flat array of 3D coordinates (X, Y, Z) to evaluate.

Max Distance (Number)

Maximum spatial radius to generate a connection between two points.

OUTPUT PORTS


Lines Out (Array)

Array of connected XYZ point pairs, formatted for line geometries.

Colors Out (Array)

RGBA array for vertex colors, featuring automatic distance-based alpha fading.


Changelog

Patches using ArrayPointsProximity

  • Examples
  • Public
  • My Patches