Discover a new way to find and share stories you'll loveā€¦ Learn about Reading Desk

Post Profile

Turbulence in HTML5 Canvas

This is a screenshot of the shader UI showing what basic turbulence looks like. As an update to my earlier post on procedural texturing in HTML5 canvas, I wanted to post an improved (faster) version of the earlier code that also incorporates a turbulence function, which is probably more properly called fractal noise. First, hat's off to Ryan Sturgell for pointing out that by moving the big array initialization outside of the this.
read more


Copyright © 2011 Regator, LLC