r/webdev • u/DoorsToManual • Oct 29 '26
Animation libraries for ostentatious and OTT animations
I'm interested to know if anyone has recommendations for libraries that could provide completely over the top (to the point of being silly) animations.
I'm trying to make a site that's intended just for family/friends, that is a dumb comedy thing to be used only for a minute or two. It would really benefit from having OTT animations like the ADHD slopware games that dominate kids' iPads everywhere.
Every time I've gone searching for libraries, I'm seemingly finding only sensible, measured animations. Which break or just look terrible when I try and crank up their params.
If you can think of anything, please drop it here. I intend to make a blinding, layered mess of retina burning excess
1
u/DoorsToManual Oct 30 '26
Just want to say thank you to all who have replied, there are some really really excellent suggestions here. I feel spoilt for choice. I'm confident I'll be able to build something truly idiotic. Thank you all
4
u/danielraison Oct 29 '26
Since GSAP has already been mentioned, I’d add Matter.js, a 2D physics engine. Turn your buttons and headings into physics bodies and let them fall off the page, pile up at the bottom and bounce when you click. Nothing says “this site is broken on purpose” like the logo landing on top of the footer.
tsParticles does fireworks, emoji rain and particles that follow the cursor, with presets you can stack on top of each other.
4
u/javimbuilds Oct 29 '26
For maximum silliness: canvas-confetti for confetti cannons on every click, GSAP for anything that needs to bounce, spin or explode with good easing, and anime.js if you want something lighter. Lottie is great too if you grab ridiculous pre-made animations from LottieFiles instead of building them yourself.
2
u/Wooden-Jicama9825 Oct 29 '26
GSAP won't be the thing holding you back here, it has zero opinions about taste and will happily run whatever stupid timeline you hand it. The "sensible" stuff you keep finding is Framer Motion and Motion One shipping spring presets tuned for product UI, everything comes out looking like a Stripe dashboard no matter what you feed it. anime.js is the other one worth trying if you just want to throw 200 staggered elements at the screen.
Crank an elastic ease past its sane range and it holds up fine, it's your GPU that quits first.
2
u/RecallProtocol Oct 30 '26
I like anime.js
2
u/adilbasari Oct 30 '26
Everyone's giving you animation libraries, but half the "ADHD slopware" feel is actually sound design. Add howler.js and attach a boing/pop/whoosh to every interaction with zero latency, and suddenly the same animations read twice as chaotic — comedy timing is audio timing.
The rest of the recipe, from letting my nephew loose on this genre: elasticOut easing on everything, staggered delays so elements arrive like dominoes, one element that physically runs away from the cursor (Matter.js as mentioned above), and a screen-shake keyframe for the "big" button. The libraries are all sensible because sensible people maintain them — the silliness has to come from your easing values.
2
u/RequirementGuide Oct 30 '26
I have done the exact same kind of joke site before and honestly the trick is not finding a wilder library, it is layering a few silly ones at once. I would start with GSAP for the big bouncy movements and then throw canvas confetti and some floating particles on top, because that combo gets chaotic fast. One thing I learned the hard way is to stick to transforms and opacity so it still runs okay when everything is moving at once, and to add a quick toggle to kill the motion because it gets old really fast. If you keep it to a short burst on clicks and page load it stays funny instead of just being unusable.
1
u/Outside-Sun-3674 Oct 29 '26
the libraries are all sensible because there's a designer behind each one who got yelled at for adding a bounce. Stack four of them on the same element with a setTimeout between and you'll get the slopware look for free.
-1
u/indiana_long Oct 29 '26
GSAP + canvas-confetti. seriously.
GSAP has elastic/bounce easing, ridiculous scaling, rotations, staggered animations, all the stuff you need to make buttons behave like they've had 6 energy drinks.
then throw canvas-confetti on top whenever someone clicks literally anything.
you don't need a library specifically designed for ugly animations. you need a powerful animation library and absolutely terrible taste.
which, for this project, is a compliment lmao.