ReverseArray3 Op
Reverses an array with value triplets [x, y, z, ...]
Summary (oneliner)
<p>E.g. <code>[x1, y1, z1, ..., x9, y9, z9]</code> —> <code>[x9, y9, z9, ..., x1, y1, z1]</code> or: <code>[1, 2, 3, 4, 5, 6]</code> —> <code>[4, 5, 6, 1, 2, 3]</code> If the input array has a bad length (not dividable by 3), e.g. <code>[1, 2, 3, 4, 5, 6, 7]</code> (length: 4) or <code>[1, 2, 3, 4, 5, 6, 7, 8]</code> (length: 5), the last values which cannot form a triple will be cut off, in both cases the reversed array would be <code>[4, 5, 6, 1, 2, 3]</code> (trimmed).</p> <p>If the array does not consist of triplets you probably want to use the regular <a href="/op/Ops.Array.ArrayReverse">Ops.Array.ArrayReverse</a> op.</p>
- Ops.Array.ReverseArray3
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ReverseArray3 example
INPUT PORTS
<p>The Array you want to reverse (containing triplets)</p>
OUTPUT PORTS
<p>The reversed Array</p>