@Daniel wright 2311, no disrespect my friend, but that code you shown looks like nothing more then an array.
Pincho has the right idea where you assign a function to an image and you move it around and when you combine one image to another, the target gets a different result.
A node, which is an image in this case, is nothing more then an assigned function. When you combine functions the target gets the combined result of both functions. It's a little more complex then that, but that is the gist of it.
I myself at this time, have no idea how to write code that can simulate this, but I am sure there is a simple way to do it in DBPro. It's just a matter of time before someone figures it out.
I use Cinema 4D for my graphics software. What's cool about it is, I can write my own function and assign it to a node. I can then write another function and assign it to another node. I can then combine the two and my target gets a really cool effect based off the two nodes / functions. And there is no limit to nodes. You can make some really cool effects or even ideas off of nodes.
https://soundcloud.com/toraktu