{"id":27109,"date":"2025-01-03T17:12:58","date_gmt":"2025-01-03T22:12:58","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=27109"},"modified":"2025-01-03T17:12:58","modified_gmt":"2025-01-03T22:12:58","slug":"noise-revisited-part-1","status":"publish","type":"post","link":"http:\/\/blog.kenperlin.com\/?p=27109","title":{"rendered":"Noise revisited, part 1"},"content":{"rendered":"<p>For years I have been wanting to implement a version of my 3D noise function that produces the same result on the CPU and GPU. But I also wanted it to do other things as well:<\/p>\n<p>(1) It needs to use only standard WebGL and Javascript<br \/>\n(2) It can&#8217;t require loading any data tables<br \/>\n(3) It must run insanely fast &#8212; even on my phone<\/p>\n<p>Well, I finally got around to it. I&#8217;ve posted a little side by side test of the GPU and CPU implementations, together with the source code for each.<\/p>\n<p>The test shows an X,Y slice of 3D noise traveling in Z over time. You can see it <a href=\"https:\/\/cs.nyu.edu\/perlin\/noise3\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For years I have been wanting to implement a version of my 3D noise function that produces the same result on the CPU and GPU. But I also wanted it to do other things as well: (1) It needs to use only standard WebGL and Javascript (2) It can&#8217;t require loading any data tables (3) &hellip; <a href=\"http:\/\/blog.kenperlin.com\/?p=27109\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Noise revisited, part 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/27109"}],"collection":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27109"}],"version-history":[{"count":5,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/27109\/revisions"}],"predecessor-version":[{"id":27114,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/27109\/revisions\/27114"}],"wp:attachment":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}