Skip to content

Instantly share code, notes, and snippets.

View fred3m's full-sized avatar

Fred Moolekamp fred3m

  • soZen/Rubin Observatory LSST DM
  • United States
View GitHub Profile
@fred3m
fred3m / Multilayer Canvas
Created March 11, 2015 03:33
An html5 canvas with multiple layers
// Canvas with multiple layers
// copyright 2015 by Fred Moolekamp
// MIT License
initMultiCanvas=function(div,options){
var $div;
if(div instanceof jQuery){
$div=div;
}else{
$div=$(div);
};