Mgraphics masking and JS painter


    Mar 06 2016 | 3:08 pm
    I'm trying to do a custom JS painter for live.meter~. The paint routine runs fine, but in order to draw a level indicator (or somethign like it) I need to know the audio level stored in the live.meter~, like how many LEDs should be lit etc. Generally one can use: var value = box.getvalueof()[0]; but in the live.meter~' s case it returns as "null". Anyone has any idea if what I want is indeed possible, and how can I get the level value?
    Nik

    • Mar 06 2016 | 10:43 pm
      Anybody? "JS painter" is there teasing us a long time now but with a very limited documentation... I would really appreciate some more insight...
      The second thing I wonder is how I can make an "opacity mask" for something in JS.
      Any tip would be really appreciated!
    • Mar 07 2016 | 2:19 am
      I'd like to know if adding js painter to objects involve a big cpu overhead. of what i understand, it's processed in the main thread, but given jitter is also ...