Sunday, March 1, 2015

WebGL

What is WebGL ?

WebGL  stands for Web Graphic Library. WebGL is a JavaScript API which supports 3D computer Graphics and 2D Graphics on the web browser. Mozilla Firefox , Google Chrome, Opera, Apple Safari(WebKit) are some of them which supports WebGL without any plug-ins in the desktop environment and Chrome for Android and Firefox for Android  are some of them in the Mobile environment. WebGL is designed and maintain by Khronos Group (American not for profit member funded industry consortium).

WebGL program consists of control code and shader code. Control code is written in JavaScript and Shader code is executed on a computer's Graphic Processing Unit(GPU).

Does my Browser support WebGL?

You can check whether your browser supports WebGL or not. Here are some experiments. Following function gives a 3D Graph which display rotating heart.


Similar technologies for 3D in a Browser:
  • Java OpenGL
  • Stage3D
  • Google Native Client

No comments:

Post a Comment