I wanted to add a cursor lag trail to my website, so I considered this, but it seems to use a lot of code and I wanted to learn JavaScript. So I made the same effect as in ghostCursor.js but in only 24 lines of JavaScript and 12 lines of CSS (excluding comments and blank lines). Check out the live demo at https://cursorlag.velocifyer.com/.
I wanted to add a cursor lag trail to my website, so I considered this, but it seems to use a lot of code and I wanted to learn JavaScript. So I made the same effect as in ghostCursor.js but in only 24 lines of JavaScript and 12 lines of CSS (excluding comments and blank lines). Check out the live demo at https://cursorlag.velocifyer.com/.