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
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.
Download
https://github.com/tkzic/max-projects
Folder: jitter-js
- patch: downsamp-thing.maxpat
- javascript source: downsamp.js