Over a million developers have joined DZone.

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

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

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:


What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.


Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}