Created
January 17, 2023 20:43
-
-
Save rajsite/38cac91d1acedb8305fe2266fda92387 to your computer and use it in GitHub Desktop.
Confetti effect bookmarklet to use in Lucid (or any page)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a new bookmark and use the following as the url for a confetti efect: | |
javascript:(function()%7Bvar a %3D document.createElement('script')%3B%0Aa.src %3D 'https%3A%2F%2Fcdn.jsdelivr.net%2Fnpm%2Fcanvas-confetti%401.5.1%2Fdist%2Fconfetti.browser.min.js'%3B%0Aa.onload %3D () %3D> confetti(%7BparticleCount%3A100%2Cspread%3A70%2C origin%3A %7B y%3A 0.6 %7D%7D)%0Adocument.body.append(a)%7D)()%3B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment