Cool Text Wave Effect

Add-ons
2026-08-03 12:46 3 次浏览 • 0 次下载 2.8KB
Cool Text Wave Effect

Last Updated: 2017-6-19 15:50:32

Changelog:Fixed a bug in the mouse event handling.


Last Updated: 2017-6-18 06:28:11

Changelog:

1. Added a new oscillation effect and a new algorithm.

2. Added a duration parameter.

3. Added event detection for more accurate animation effects.

1
2
3
4
5
6
7
8
9
10
11
elasticText({
id: 'otext1', // Container ID
color: 'rgb(255, 87, 34)', // Text color, hexadecimal values such as #000 can be used.
fontSize: '18px', // Text size
content: 'You said the begonias beyond the curtain, mandarin ducks on the embroidered screen; later, spring deepened in the courtyard, with the painted hall just inches away.' // Text content
}, {
id: 'otext2', // If there are multiple containers, separate them with commas.
color: 'rgb(33, 150, 243)',
fontSize: 22,
content: 'You said the flute sounded like a lament, leaving me lost in thought; later, the tea smoke was still green, and distant figures faded into the mist.'
});

This was put together rather hastily, so there may be bugs.

星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare