Lines Connection
Create procedural lines between selected layers. Choose connection graphs (Star, Chain, K-Nearest, Random, etc.), line styles (Arc/Wavy/Zigzag…), and control color, distance-based fading, and optional trim per layer—all organized automatically into grouped connections.
Overview
Lines Connection generates procedural lines between selected layers (including Lights) using a single clean Shape Layer setup. Pick how layers connect (star, chain, nearest neighbors, etc.), choose a line style (straight, arc, wavy, zigzag…), and control color, fading, and trims—all while keeping everything organized in one grouped structure.
Features
- Connect AV layers and Lights using one Shape Layer
- 6 connection graphs:
- 5 line styles:
- Color modes:
- Distance-based fading:
- Optional Trim controls:
- Auto-resolves duplicate layer names
- Outputs a single Shape Layer: "Lines Connection —
" with one group per connection
How to Use
1. Select at least two target layers (AV or Light).
2. Choose a Connection mode:
- Star / All-to-all / Chain / Loop / Random / K-Nearest
- For Random: set Max lines per node
- For K-Nearest: set K
3. Choose a Line Style:
- Straight
- Arc → set Curvature
- Wavy → set Amplitude / Frequency / Phase / Speed
- Zigzag → set Amplitude
- Elbow → set Bias
4. Choose Color mode:
- For Gradient (Along Each Line):
- Toggle Reverse Gradient if needed
- Adjust colors via the "Gradient Colors" Tint
5. (Optional) Enable Distance Fade:
- Turn on Fade Opacity and/or Fade Stroke Width
- Set Max Distance, Fade Range, and minimum values
6. (Optional) Enable Trim:
- Choose Side (Start/End)
- Enable Trim for Each Layer to add LC Trim % sliders per target layer
7. Click Connect.
The script creates a Shape Layer named "Lines Connection —
Notes
- For large selections, K-Nearest is usually cleaner and faster than All-to-all.
- Distance fade is great for depth/space visuals and avoiding clutter.
- If you rename layers later, the tool’s name-resolving helps keep connections stable and readable.