Halton Scatter Node

john's Avatar

john

06 Feb, 2025 01:37 AM

Halton_scat scatters points inside a shape in a deterministic but random-looking way using the Halton Sequence. More about the Halton Sequence here:

https://en.wikipedia.org/wiki/Halton_sequence

Halton_scat is another alternative to the standard NodeBox scatter node. Scatter produces a distribution of points which are more random but often not aesthetically appealing because some points land too close together. The Halton sequence produces a more evenly distributed scatter that often looks better. Depending on the size and shape of the boundary region and the number of points generated, the Halton pattern can appear more repetitive and patterned. The node provides 12 different variations to combat this.

The node takes three parameters:

  • shape. The bounding shape
  • amount. The number of points
  • pattern. The desired variant pattern, from 0 to 11

NOTE: If you provide a non-rectangular bounding shape, Halton_scat will remove any points outside the shape. Unlike scatter, this may result in fewer points than requested. If need be, just increase the amount to compensate.

The attached demo shows a comparison of Scatter to Halton_scat in rectangular regions with 500 points. Halton_scat does not require an external code module, but will start to slow if asked to produce more than about 10,000 points.

I learned about the Halton Sequence from this excellent article on ways to make generative art more natural looking:

https://www.generativehut.com/post/how-to-make-generative-art-feel-...

Enjoy!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • halton_screenshot.png 842 KB
  • halton_scatter.ndbx.zip 3.79 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Mar, 2025 09:21 PM
20 Mar, 2025 06:07 AM
20 Mar, 2025 02:39 AM
18 Mar, 2025 05:24 AM
14 Mar, 2025 08:32 AM

 

10 Mar, 2025 06:36 PM
10 Mar, 2025 06:36 PM
10 Mar, 2025 06:36 PM
10 Mar, 2025 12:30 AM
02 Mar, 2025 12:34 AM
01 Mar, 2025 12:27 AM