News for hackers. Stuff that matters.
Re:WebGL Water Simulator by Exuma on Saturday January 10, 2015 @05:19PM (#8868152)
Fun trick: Pause the simulation with the space bar. Then, take your mouse and drag it on the surface of the water, you will notice it creates ripples but in the paused state.

Drag the mouse rapidly back and forth in a very tiny area so that it creates a layered 'ripple' that grows and grows. If you spend about 2 minutes doing this you can make the ripple go like 10 feet high completely off the screen.

Then unpause the simulation for a massive tsunami.

Re:WebGL Water Simulator by JoshTriplett on Saturday January 10, 2015 @05:28PM (#8868174)
Rather than dragging, just click in the same spot hundreds of times to make a huge tower of water, then unpause to see a single ring of concentric waves and perfect wave reflection/interaction effects.
Re:WebGL Water Simulator by lifeformed on Sunday January 11, 2015 @04:26PM (#8871386)
Or paste this into the console:

     water.addDrop(x, y, radius, strength)
0,0 is the center, bounds are -1 to 1. 0.1 radius is a reasonable spike, 1 radius is a huge swell. 1 strength is really big. 10 is ridiculous. Try negative numbers too!

Try:

     water.addDrop(0, 0, 0.1, 5)
Re:WebGL Water Simulator by ca98am79 on Sunday January 11, 2015 @10:31PM (#8872366)
water.addDrop(5, 9, -0.03, 1) is cool, especially as it starts to settle
Re:WebGL Water Simulator by Exuma on Sunday January 11, 2015 @10:55PM (#8872426)
HOLY CRAP.... Dude
Re:WebGL Water Simulator by Rexxar on Sunday January 11, 2015 @07:30AM (#8869795)
If you click a lot, the level of water gets higher. Each click adds some water to the tank.

edit: The white sphere don't use the real level of water to decide where it should float (when gravity is activated)

Re:WebGL Water Simulator by 0942v8653 on Saturday January 10, 2015 @08:51PM (#8868733)
Or automate the process:

    for i in $(seq 1 100); do cliclick c:.; done
Re:WebGL Water Simulator by ldng on Saturday January 10, 2015 @07:52PM (#8868596)
But if you put the ball on half-way on the surface, it seems the water waves don't bounce on it. Or is it me ?
Re:WebGL Water Simulator by LukeB_UK on Saturday January 10, 2015 @08:12PM (#8868637)
If you do it in the middle, you get some really nice patterns
Re:WebGL Water Simulator by iamcreasy on Saturday January 10, 2015 @07:52PM (#8868594)
This was really really fun! :D
Re:WebGL Water Simulator by fatihpense on Saturday January 10, 2015 @08:52PM (#8868736)
I got a very nice heart shape by dragging: http://i.imgur.com/0675p4W.png