Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 767 Bytes

property-maps.md

File metadata and controls

19 lines (12 loc) · 767 Bytes

Property Map Syntax

Property Map array was designed to express sequential values. Often used with Burst and Stagger modules to generate values that repeat over children length. Basically it is just an array that maps its values to children based on child index with mod function. So if you have property map with 3 values and 5 children, then 4th and 5th items will recieve 0th and 1st values from the map respecively. Works with any values inside the array.

Full API reference:

  // ...
  property : [ 20, { 20 : 0 }, 'rand(0, 20)' ]
  // ...