CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
                  ...
    // create the jquery object corresponding to the DOM element holding the
    // virtual coordinate system
    var jsurface = $("#surface");
    
    // create the surface object.  Choosing a 30x30 coordinate system
    var surface  = new Surface (jsurface, 30, 30);
    ...
    

            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................