diff --git a/mousetest.html b/mousetest.html index c48dead..5387e2e 100644 --- a/mousetest.html +++ b/mousetest.html @@ -3,16 +3,52 @@ - test - + + + + +

site

+

trailing effect

- new fairyDustCursor(); - -}); + document.addEventListener('DOMContentLoaded', function () { + new CursorEffect({ + type: 'trailing', // Set the effect type to "trailing" + cursor: { + size: 12, // Set the size of the main cursor + color: 'rgba(255, 0, 0, 0.5)', // Customize the cursor color + }, + trailing: { + size: 15, // Set the size of the trailing effect + distance: 50, // Set the distance the trail lags behind the main cursor + color: 'rgba(0, 255, 0, 0.5)', // Customize the trailing color + } + }); + }); + +