jit.phys Patch-along, Part 3

Patch along with Jitter Developer Rob Ramirez as he works with the Jitter Physics system. In this multi-part series, Rob will go from creation of a physics world and rigid bodies to using constraints and building and simulating complex structures. This third video shows how to use jit.phys.multiple to create a bunch of rigid bodies, and then how to use those bodies to drive a polyphonic synth.

it’s simply a design decision.
jit.gl.multiple (and phys.multiple) will wrap the matrices automatically.
this gives us 64 unique colors with each color duplicated 8 times (along the z axis).
if you notice, this mirrors how i create pitches (i only use the x and y coordinate to create a pitch), so each color maps to a specific pitch.