资 源 简 介
制作火焰文字
运行时文字周围有火焰闪动,颇为好看。
基本思想:
对于给定的文字,其周围的三原色分量值往外依次减去一个随机量
(该随机量随时间改变,造成动画效果),直到减到0为止。在文
字周围即可看到比文字颜色淡的火焰。如果忽略蓝色分量,并使黄
色分量减的快一些,即可得到真实的火焰效果。-flame produced text characters running around the flame flicker, rather pretty. The basic idea : For a given language, the RGB sub-around money overseas minus a random order quantity (the random change with time, resulting in animation effects), until reduced to 0 so far. The language can be seen around the text color than the desalination of flame. If neglected blue component and make the yellow-minus faster, and can be real flame effect.