AS3 MarbleTexture Class - Apply Marble Texture to Any Display Object

Sunday, 12 June 2011 08:03 PDFPrintE-mail

Another example of a texture created completely from code. Our custom MarbleTexture AS3 class creates a marble-textured Sprite with the same shape and mouse interactivity as any source Sprite that you pass to the constructor. The texture is created with BitmapData methods perlinNoise() and copyChannel(), along with DisplacementMapFilter() and ColorMatrixFilter(). Choose pink, blue or white marble. Complete Flash and AS3 code ready for download.

Read Full Article

Related Articles

Newer news items:
Older news items: