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

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

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:



 

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}