📜 ⬆️ ⬇️

The first signs of WebGL appearance in WebKit



Jeffrey Rosen looked at the preview of the appearance of WebGL in the WebKit project . The above demonstration is an example of this work (it is also in HD quality ):
WebGL is basically the starting point for the implementation of three-dimensional graphics in browsers as native, without the need to download any plug - ins. This is achieved by adding several new products to HTML5, namely, by defining javascript binding for OpenGL ES 2.0, which will allow you to draw in the 3D context of the canvas element.
It is interesting to compare this low-level API with O3D, which is Google's set design API (Google also supports WebGL, also through the O3D command, and sees these APIs as complementary). These APIs are quite different, and their approaches are drastically different. One interface gives you a new API, but a high-level one, which may be more attractive for web developers; at the same time, the other is quite familiar to a certain circle of developers, so that it is easier to work on porting. Ideally, someone will create a Processing or jQuery binding around WebGL to give this interface a high-level love.

Fun times come with three-dimensionality on the Web! It's great to see WebKit and Gecko doing great things with WebGL.
')
Translator's note: our colleague heel , four days ago, mentioned the very same achievement, and caused a discussion of a dozen for three comments with his blog entry, which I recommend to read without fail. The purpose of this translation was also to acquaint you with the opinion from the Ajaxian blog about the place of WebGL among the API and about the views of Google; this gives the news the necessary sense of perspective.

Source: https://habr.com/ru/post/70104/


All Articles