TextFX is a project mainly written in JavaScript, it's free.
A simple example of some textual effects using dojox.fx
TextFX
A simple demo showing off some of the textual effects one can create using Dojo