Cool Text Wave Effect
Add-ons

Plugin Description: A text effect that simulates the oscillating motion of a rubber band.
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.
评论