Random Vector#

https://user-images.githubusercontent.com/14288520/188725644-dcc097af-0738-4b4c-9c3c-0e21fb748691.png

Functionality#

Produces a list of random unit vectors from a seed value.

Inputs & Parameters#

Parameters

Description

Count

Number of random vectors numbers to spit out

Seed

Accepts float values, they are hashed into Integers internally.

Scale

Scales vertices on some value Floats.

Advanced Parameters#

In the N-Panel (and on the right-click menu) you can find:

  • Simplify Output: Method to keep output data suitable for most of the rest of the Sverchok nodes

    • None: Do not perform any change on the data. Only for advanced users

    • Flat: It will flat the output to keep vectors list in Level 3 (regular vector list)

  • Match List: Define how list with different lengths should be matched (‘Short’, ‘Repeat Last’ or ‘Cycle’)

  • Output NumPy: Get NumPy arrays in stead of regular lists (makes the node faster). Available for Vertices, Edges and Pols

Outputs#

A list of random unit vectors, or nested lists.

Examples#

Notes#

Seed is applied per output, not for the whole operation A unit vector has length of 1, a convex hull of random unit vectors will approximate a sphere with radius off 1.

Remark#

For random numeric list see:

Examples#

https://user-images.githubusercontent.com/14288520/188726666-1a155458-74f1-443e-bc3b-854f6b2fdf22.gif
randomvector1.PNG randomvector2.PNG