Example of using Flash drawing functions to create a Perlin Wood Texture. Only the wood block is a Flash object, the rest is all HTML -- and of course the entire thing was coded in JavaScript.

baseX: TreeRings:
baseY: numOctave: RandSeed:
Color 0:
Color 1:

Ported from code at www.connectedpixel.com by Joel May

View source: wood.js