Changes between Version 6 and Version 7 of webgl
- Timestamp:
- Oct 4, 2013, 6:54:20 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
webgl
v6 v7 108 108 draw(); 109 109 } 110 111 //window.onload = window.onresize = function() {startup();} 110 112 </script> 111 112 <canvas id="myGLCanvas" width="500" height="500" onload="startup();">Your browser does not support the HTML5 canvas tag.</canvas> 113 <canvas id="myGLCanvas" width="500" height="500" style="background: black; float:right;">Your browser does not support the HTML5 canvas tag.</canvas> 113 114 <form><input type="button" value="Draw" onclick="startup()"/></form> 114 115 115 }}} 116 117 116 {{{ 118 117 #!javascript … … 221 220 draw(); 222 221 } 222 223 //window.onload = window.onresize = function() {startup();} 223 224 </script> 224 225 <canvas id="myGLCanvas" width="500" height="500"></canvas> 225 <canvas id="myGLCanvas" width="500" height="500" style="background: black; float:right;">Your browser does not support the HTML5 canvas tag.</canvas> 226 226 <form><input type="button" value="Draw" onclick="startup()"/></form> 227 228 227 }}} 229