Skip to content

Instantly share code, notes, and snippets.

@jefBinomed
Created June 17, 2015 14:51
Show Gist options
  • Save jefBinomed/10c927e157e4ff531cf7 to your computer and use it in GitHub Desktop.
Save jefBinomed/10c927e157e4ff531cf7 to your computer and use it in GitHub Desktop.
Programmez-07/08_2015-PortalWebrtc-07
//draw colormap->palettevalues toscreen
vardraw = function()
{
// render theimagedatatotheoffscreen buffer...
bufferContext.putImageData(imageData,0,0);
// ...then draw it toscaletotheonscreen canvas
// Imagedebaseen bas !
drawAngle(0);
drawAngle(90);
drawAngle(180);
drawAngle(270);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment