Namespaces

Variants
Actions

jit.scissors

From Cycling '74 Wiki
Revision as of 20:38, 22 August 2013 by Corymetcalf (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

jit.scissors online refpage

Using the jit.scissors object

jit.scissors breaks an incoming matrix into uniform rectangular regions, outputting each region as a new matrix out of separate outlets.

jit.scissors Tutorials

jit.scissors is covered in Jitter Tutorial 13: Scissors and Glue.

It is also used in these example patches:

  • ./examples/jitter-examples/render/jit.gl.gridshape-scissors.maxpat
  • ./examples/jitter-examples/video/analysis/jit.fft-mask.maxpat
  • ./examples/jitter-examples/video/spatial/cutandpaste.maxpat

And Jitter recipes 6, 20, and 22.

jit.scissors Tips and Workarounds

You can change the number of rows and columns with a message to jit.scissors, but the object only has as many outlets as initially defined by the @rows and @columns attributes typed as arguments. The maximum number of outlets is 256, with a max of 16 for each dimension so it is best to determine the total number of outputs desired when creating the object.

Scripting is your friend! When using objects like jit.scissors and jit.glue you sometimes have to connect a lot of inlets and outlets, particularly if you use something like a router in between. In these cases it can be really useful to take advantage of the script message to the thispatcher object. This patch creates 256 outlet jit.scissors and jit.glue objects (16 rows and 16 columns) connected through a router with 256 inlets and outlets and automatically patches it all together, along with a receive to the leftmost inlet of router to control the patching, all with the click of a button:

-- Pasted Max Patch, click to expand. --

Third-Party Max externals similar to the jit.scissors object

Maxobjects.com listing for the jit.scissors object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)