←back to thread

AnimeJs v4 Is Here

(animejs.com)
973 points adrianvoica | 2 comments | | HN request time: 0.411s | source
Show context
jacobgkau ◴[] No.43572742[source]
Scrolling through that landing page felt a lot smoother & snappier than I would've expected for a page looking like that.
replies(8): >>43572942 #>>43573119 #>>43574072 #>>43574981 #>>43575013 #>>43578231 #>>43579154 #>>43591513 #
ryandrake ◴[] No.43574981[source]
It's clever, but honestly I don't care how smooth it is. Scrolling should simply scroll a view up or down a page. Not invoke animation. We already have established UX patterns for playing media, slowing it down, speeding it up, randomly seeking through it.
replies(6): >>43575007 #>>43575116 #>>43575711 #>>43575864 #>>43575870 #>>43576207 #
1. jacobgkau ◴[] No.43575711[source]
Part of the smoothness here is that scrolling the text is 1:1 once you get down to the sections with colored headers. It demonstrates that it's possible to make a page look fancy like that without "breaking" your intuition of what scrolling "should be."

JS animations obviously don't take the place of video/audio media that you'd play/scrub through.

replies(1): >>43583549 #
2. JulianGarnier ◴[] No.43583549[source]
Hey I'm the author of the lib, exactly, I don't really "highjack" the body scroll, I'm only controlling the background animations with it, while keeping most of the body content scroll naturally with the page.