topical media & game development

talk show tell print

graphic-canvas-util-pixastic-blend.htm / htm



  <script type=text/javascript src=graphic-canvas-util-pixastic-pixastic-jquery.js></script>
  <script type=text/javascript src=graphic-canvas-util-pixastic-pixastic-custom.js></script>
  <script type="text/javascript">
  function draw() {
  var img = new Image();
  img.onload = function() {
          var blendImg = new Image();
          blendImg.onload = function() {
          img2 =        Pixastic.process(img, "blend", 
                          {
                                  amount : 1, 
                                  mode : "multiply", 
                                  image : blendImg
                          }
                  );
          }
          blendImg.src = "walk.jpg";
  }
  document.body.appendChild(img);
  img.src="soutine.jpg";
  }
  </script>
  <body onload="draw();">
  </body>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.