Repository navigation
node filter by index
Home > Data > Select Every Nth
< Previous: Select by Area | Next: Select by Pattern >
Keep every Nth item and reject the rest - Every sets the step, Offset the phase. Both outputs are live.
Category: Data | Add menu: Data > Select Every Nth
Routes each item to Selected or Unselected by its position in the list. Every sets the step - Every 2 keeps every other item, Every 3 keeps one in three. Offset shifts the phase, so the pattern can start on a different item; it wraps, so a negative Offset still lands in range. Because Unselected is a live output too, you can style the dropped items differently instead of losing them.
Every and Offset are inline-editable on the node face - double-click and type, no wiring needed.
- Geometry (any): the list of items to filter by position.
- Every (number, editable: default 2)
- Offset (number, editable: default 0)
- Selected (any): the items at every Nth position.
- Unselected (any): the items in between.
The point is usually two treatments rather than one selection. Feed Selected and Unselected into different Style nodes and a plain grid becomes a checkerboard, or every third tile picks up an accent, without you drawing two patterns.
Offset is how you line that up: same step, different phase, so two of these on the same list can divide it between them.
< Previous: Select by Area | Next: Select by Pattern >
Found a bug or have feedback? Open an issue | Docs home | Videos | Credits
Getting Started
- Welcome
- How Locus came to be
- Videos
- Community & support
- Installing & launching
- Licensing & activation
- Beta License Agreement
- Core concepts
- Interface tour
- Your first pattern
Modeling - Drawing
- Canvas basics
- Points
- Typing coordinates
- Lines, rays & segments
- Circles & arcs
- Ellipses
- Compass & straightedge
- Rectangles & squares
- Constraining with Shift
Modeling - Editing
- Selecting objects
- Transform tools
- Align & distribute
- Duplicate, detach & ownership
- Regions & booleans
- Cleanup
- Weld & seams
- Style palettes & Re-ink
Annotation
Layers
Modeling Menus
- File
- Edit
- View
-
Draw
- Select
- Point
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Through 3 Points
- Arc: Center, Start, End
- Straightedge
- Compass
- Compass: Radius
- Ellipse: Center + Axes
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center, Vertex
- Regular Polygon: Center, Edge Midpoint
- Dimension: Linear
- Dimension: Angle
- Dimension: Radial
- Label
- Construct
- Combine
- Transform
- Select
- Nodes
The Nodes Window
- Basics of visual programming
- How the node graph works
- Sockets & wires
- Adding & connecting nodes
- Sliders & number inputs
- Keeping the node graph tidy
- View menu (Nodes)
- Lists & collections
- Constants & unit conversions
Node Library
- Overview
- Input
-
Primitives
- Point
- Point: Polar
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Apollonius
- Circle Tangent to...
- Circle: 3 Points
- Arc
- Ellipse
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center
- Rectangular Grid
- Oblique Grid
- Triangular Grid
- Construct
- Transform
- Image & Fields
- Combine
-
Data
- Measure
- Numbers
- Lists
- Select
- Clean up
- Display
Clusters
Bridging Modeling & Nodes
Patterns & Symmetry
Image-Driven Fields
Saving, Exporting & Files
Preferences & Language
CLI
Reference


