Created
June 17, 2015 14:51
-
-
Save jefBinomed/10c927e157e4ff531cf7 to your computer and use it in GitHub Desktop.
Programmez-07/08_2015-PortalWebrtc-07
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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