Uploaded December 2025 | Updated December 2026, 3 hours ago
How to use jspainter in Max to change the appearance of many UI objects.
If you are new to Javascript, I strongly recommend this channel to learn it: youtube.com/@TheCodingTrain.
The patch: github.com/pdmeyer/philip-meyer-max-tutorials/tree/main/patchers/jspainter
TOC
00:00 Intro + Demo
02:40 jsui/v8ui vs jspainter
04:50 Coding begins
07:00 Getting object values and attributes
09:45 Canvas width and height
12:00 Drawing each slider with a for loop
16:05 Calculating y-axis position from value
21:50 Color
23:35 Configurable handle size
27:42 Slider tracks
33:10 Rotating with matrix transformations
36:18 Saving as a prototype
How to use jspainter in Max to change the appearance of many UI objects.
If you are new to Javascript, I strongly recommend this channel to learn it: youtube.com/@TheCodingTrain.
The patch: github.com/pdmeyer/philip-meyer-max-tutorials/tree/main/patchers/jspainter
TOC
00:00 Intro + Demo
02:40 jsui/v8ui vs jspainter
04:50 Coding begins
07:00 Getting object values and attributes
09:45 Canvas width and height
12:00 Drawing each slider with a for loop
16:05 Calculating y-axis position from value
21:50 Color
23:35 Configurable handle size
27:42 Slider tracks
33:10 Rotating with matrix transformations
36:18 Saving as a prototype