Manipulating bitmap hex data in Jitter (or Max)

    Oct 31 2013 | 12:48 am
    I'm interested in creating a bitmap glitching patch that could replace and add bytes to the file, similar to Stallio's approach with wordpad/hex editors:
    Essentially I'd like to access the bitmap hex code and manipulate it on the fly (again adding, replacing and moving bytes around). My gravatar is an example of this done in Hex Fiend.
    So far I've experimented with the text, filein and jit.matrix objects, and decided to post in the Jitter forum because this (jit.matrix) seemed the most promising so far. That being said, I've had no luck yet (nothing worth posting) and am struggling to wrap my head around how this might work.
    Any ideas? Thanks in advance for your help...

    • Nov 02 2013 | 6:03 pm
      Anyone? Or is there any additional info that I could provide to clarify what it is I'm trying to do?
    • Nov 03 2013 | 2:17 am
      This technique is actually glitching the image which is cpu intensive and eventually leads to a crash when doing real time video. I've messed around with using this javascript library that corrupts the base64 string of values sending video signals over web sockets in webrtc, and while it's cool, the frame rate drops to a point where it crashes the browser. Hence why it's called a glitch. The other approach is to mess around with making an aesthetic glitch with jitter objects and shaders. There are plenty of examples out there. Start with the BadTV forum post and also look at the gen tutorials on the site to see how you would manipulate the xy vectors while doing an rgb shift.