Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

More interactive WebGL (with VBO rebuffering): slippery water...and sticky jello

DZone's Guide to

More interactive WebGL (with VBO rebuffering): slippery water...and sticky jello

· Web Dev Zone ·
Free Resource

Classify programming languages: Build a model that predicts a code's programming language based on its text.  Content provided by IBM Developer. 

Following up on a previous post: the creator of the wobbly cube (with VBO rebuffering) has added new code to his high-performing WebGL app that allows for more complex user interaction.

The result is an unusually satisfying WebGL wave pool:

 

 
which looks better than just another HTML5 wave pool when you actually start to interact (play with mouse and spacebar). The smoothness, courtesy of the vertex rebuffering, really conveys some of the wet indefiniteness of liquid..maybe not water (I'm thinking mercury), but more realistically than ever.

Examine the source on github...

...or don't (whatever, it's Friday), and toss around some kind of awesome (but sourceless, sorry) sticky HTML5 jello complete with customizable jello-physics:



 

Start coding something amazing with our library of open source Cloud code patterns. Content provided by IBM.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}