Introduction to WebGL
Web : https://www.khronos.org/webgl/
Introduction
● Web Graphics Library
● Based on OpenGL ES 2.0
● Exposed through the HTML5 Canvas element
● Close to the OpenGL ES 2.0 specification
JavaScript HTML5 Canvas
Major browser vendors
● Google (Chrome)
● Apple (Safari)
● Mozilla (Firefox)
● Opera (Opera)
Before to write
● JavaScript
● HTML
● OpenGL ES 2.0
● GLSL
Test WebGL
● git clone
https://github.com/KhronosGroup/WebGL.git
Write WebGL
● Learning
WebGLhttp://learningwebgl.com/blog/?p=28
● <body onload = function><canvas id = “X” width = “500” height =
“500“></canvas> </body>
● <script type = xxx > function { “…...” }</script>
Develop
● Linux
● vim
● LAMP
● github
The End
reference
http://heresy.spaces.live.com/blog/cns!E0070FB8ECF
https://www.khronos.org/webgl/

Introduction to webGL