Skip to content

formFromItems

formFromItems(items, dimensions, seed?): FingerprintForm

Defined in: packages/fingerprint/src/form.ts:63

A shape that is the collection’s own: derived only from the data, so the same collection always draws the same fingerprint, and it changes slowly as the collection grows. It is a signature, not a chart; say so beside it. The mapping, which a caption can state:

  • Pattern. An arch while there are fewer than 12 items; then a loop when one category of the first dimension holds 40% or more of the items (a focused collection); otherwise a whorl.
  • Core across, and loop direction. Where the second dimension’s values sit, on average, in its category order: earlier categories pull the core left, later ones right.
  • Core height. The same for the third dimension.
  • Spread. The share of all categories that have at least one item: broader reads looser.
  • Tilt. From the seed only, so two equal collections still differ slightly.

readonly Item[]

readonly Dimension[]

string = "fingerprint"

FingerprintForm