Skip to content

Instantly share code, notes, and snippets.

Avatar

Fred Moolekamp fred3m

  • soZen/Rubin Observatory LSST DM
  • United States
View GitHub Profile
@fred3m
fred3m / Multilayer Canvas
Created Mar 11, 2015
An html5 canvas with multiple layers
View Multilayer Canvas
// 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);
};