Zachernuk

tnSuperman tanktn oParticles uExtrusion j3d sandy flExtrusion fuelyoursenses meshCam bufferSnake dMap2 dMap pv2 cursorFire opticks faceGame FPSnake pv preOpticks painty youtuber fractalFIngers 2dbals

April 10, 2011

Flash Fur Generator

Filed under: doodles,flash — Tags: , , , , , — Brandel Zachernuk @ 2:43 pm

I made a fur generator! Change the sliders to alter the effect. You can load your own source files and save them out again too…  I’d love to see what you come up with!

Note: For large images, click+drag on the picture to move around.  While you’ll only see a portion of it here, hitting the ‘Save JPG’ button will export the entire picture.

Get Adobe Flash player

I’m not the first to make a fur generator in Flash – Andre Michelle, Mark Knol and a bunch of others have already made some – but it was fun to make and I could see it being useful for generating fur textures for creatures, or making an application that would let you draw hilarious moustaches on your friends. As with the Sequencer , it’s surprising what kind of performance you can get out of Flash these days!

Oh, one thing that was extremely frustrating and somewhat silly: I had to use Thibault Imbert’s custom JPG decoder because of the security sandbox that the latest Flash player throws up around images loaded from external sources.  It’s possible to load and display them, but any programmatic attempt to access, say, pixel values, will result in an error that can’t be sidestepped.  It was a point of some frustration, since if I can see the picture, I want to be able to play with it!  Please correct me if I’m wrong, by the way – if anyone knows how to get pixel values from uploaded pictures in AS3/Flash 10+ I would be very grateful to hear!

This is a demonstration of what it looks like – just in case you can’t see:

(courtesy of Mr. Aidan Fraser of Shide and Prame)

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress