Fork me on GitHub

RepulsiveElements v0.1

how are you doing?

Hover the mouse over this.


And it works with links.
So, words aren't enough.
You want each letter to move around huh.
Nested elements work most of the time too, even with a link

Options:
Friction Coefficiant=0.9
mouseK=0.9
textSplitter='p' peter piper picked a peck of pickled peppers

Usage:
new RepulsiveElements(document.getElementById('someElement'))