The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

Show your WorkFrom the old forum

Halton Scatter Node

No replies yet

  1. 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-natural

    Enjoy!

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply