<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>bd</author><text>Just to clarify - the bulk of the work here is done in GLSL shaders on the GPU, not with matrices in JavaScript.&lt;p&gt;All that matrix code you see in the source here is basically just the minimum prerequisite for doing 3D graphics, it would be the same if you just wanted to get a spinning cube with some camera control.&lt;p&gt;The real magic happens in the shaders which compute water mesh displacement, normals and shading directly on the GPU (21 simulation passes + 1 rendering pass + 1 initialization pass, using several floating point textures, seems like stateful simulation with ping-ponging, basically using graphics rendering pipeline to do GPGPU without a need for OpenCL &amp;#x2F; CUDA).</text><parent_chain><item><author>randomdrake</author><text>The code is quite cool to look at. Love seeing the extensive use of matrices and mathematics to create such a beautiful and mesmerizing display.&lt;p&gt;If anyone is interested in playing around with it, I threw it up at JSFiddle here: &lt;a href=&quot;http://jsfiddle.net/zyAzg/&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;jsfiddle.net&amp;#x2F;zyAzg&amp;#x2F;&lt;/a&gt;&lt;p&gt;Excellent demo.</text></item></parent_chain></comment><story><title>Web GL Ocean Simulation</title><url>http://david.li/waves/</url><text></text></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>nanidin</author><text>I&amp;#x27;m not sure how I&amp;#x27;d feel about a repost to jsfiddle without my permission if I were the original author. How is this any different than reposting xkcd or other webcomics on alternate hosting without the author&amp;#x27;s permission?</text><parent_chain><item><author>randomdrake</author><text>The code is quite cool to look at. Love seeing the extensive use of matrices and mathematics to create such a beautiful and mesmerizing display.&lt;p&gt;If anyone is interested in playing around with it, I threw it up at JSFiddle here: &lt;a href=&quot;http://jsfiddle.net/zyAzg/&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;jsfiddle.net&amp;#x2F;zyAzg&amp;#x2F;&lt;/a&gt;&lt;p&gt;Excellent demo.</text></item></parent_chain></comment><story><title>Web GL Ocean Simulation</title><url>http://david.li/waves/</url><text></text></story>