JSFiddle

  • OOP example

    implemented inheritance

    Function.prototype.copyProps = function(subclass, superclass){
        for(var key in superclass){
          subclass[key] = superclass[key];   
        }
        for (key in superclass.prototype ...
  • Delayed Mouse Tracking #32 is the latest revision

    Processing.js 1.0.0, HTML, CSS, JavaScript

    window.passVar = 0;
    $(document).mousemove(function(e){
        passVar = e.pageX;
    });
    
    
    var scripts=document.getElementsByTagName("script");
    for(var i=0;i ...