More interactive WebGL (with VBO rebuffering): slippery water...and sticky jello
Join the DZone community and get the full member experience.Join For Free
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:
Opinions expressed by DZone contributors are their own.