Jitter in javascript

Why would you write Jitter code inside a js object?

  • Math expressions
  • File IO
  • Borrowed code
  • You’re just that way

There are three Jitter javascript tutorials (built in to Max) 45-47

Screen Shot 2015-04-24 at 12.55.44 AM

The Max javascript documentation is generally far flung. A helpful reference by Tim Schenk https://reactivemusic.net/?p=17445

Here’s an example to get started with. It downsamples a movie and changes the background color. Something I often dream about.

Screen Shot 2015-04-24 at 12.35.31 AM

Download

https://github.com/tkzic/max-projects

Folder: jitter-js

  • patch: downsamp-thing.maxpat
  • javascript source: downsamp.js

jit.ameba

Downsample/upsample with non obvious results.

Screen Shot 2015-04-13 at 2.22.43 PM

 

Mystery surrounds jit.ameba.

From earlier (Max 5)  Cycling 74 documentation https://docs.cycling74.com/max5/refpages/jit-ref/jit.ameba.html:

“The jit.ameba object began life as a completely failed attempt at a linear interpolation object. As the Oblique Strategies say, “Honor thy error as a hidden intention.” If you’re interested in linear interpolation objects, try the jit.plur object. Otherwise, please enjoy the mess.”

Horizontal and vertical quantization

What actually does that mean?

From the Cycling 74 Wiki

https://cycling74.com/wiki/index.php?title=jit.ameba

(There is no information here)

From Peter Elsea

http://peterelsea.com/Maxtuts_jitter/Gallery.pdf

“This is a pixilation (resampling) trick. The help file admits this was supposed to be something else, but didn’t work. Needs a spell check too, but pretty interesting. ”