Most active commenters
  • JulianGarnier(5)

←back to thread

AnimeJs v4 Is Here

(animejs.com)
973 points adrianvoica | 43 comments | | HN request time: 0.841s | source | bottom
1. 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 #
2. adrianvoica ◴[] No.43572942[source]
Julian (the author) is a genius. v4 has been in the making for some time, but, boy, is it worth the wait! I have used v3 (I am using it on my landing page and even built a small game engine with it), but this version is on a whole new level. Congrats to the author! Keep up the good work!
replies(1): >>43575391 #
3. wigster ◴[] No.43573119[source]
yeah. i'm normally not a big fan of these scroll down and "shit-happens" sites, but that is VERY slick and cool. super nice.
replies(2): >>43575077 #>>43582992 #
4. qoez ◴[] No.43574072[source]
I think part of the trick is that each unit of scrolling takes you quite far down the animation sequence (so scrolling doesn't feel like a long effort)
5. 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 #
6. mcluck ◴[] No.43575007[source]
False. Let the web be fun again
7. azemetre ◴[] No.43575013[source]
Do they explain how they made the landing page or share the code somewhere? I agree, it's stunning.
replies(2): >>43576533 #>>43583523 #
8. robertlagrant ◴[] No.43575077[source]
Yes - exactly. If they were that smooth and looked that good, I'd like more of them. So creative.
9. robertlagrant ◴[] No.43575116[source]
Animation isn't really "playing media".
10. MrMcCall ◴[] No.43575391[source]
> Julian (the author) is a genius.

With proof!

I have rarely been so impressed with a web tech.

replies(1): >>43586429 #
11. 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 #
12. jonwinstanley ◴[] No.43575864[source]
So what would you suggest to use to move the animation forward?
replies(3): >>43576694 #>>43577235 #>>43585462 #
13. derac ◴[] No.43575870[source]
For most websites, sure. For this website? It makes sense, it's a great demo for the product.
14. johnsanders ◴[] No.43576207[source]
It's not so much about playing/slowing/speeding up an animation or video. It's about moving forward and backward through an "experience," as much as I dislike the overuse of that word. I'd suggest it's a natural evolution of the scroll behavior.
15. chilmers ◴[] No.43576533[source]
There is a gh-pages branch, but it is generated from a private repo: https://github.com/juliangarnier/anime/tree/gh-pages
16. hoc ◴[] No.43576694{3}[source]
That missing Playdate phone accessory.
17. evilduck ◴[] No.43577235{3}[source]
Submitting a form repeatedly by hammering enter and having a new HTML fragment rendered on the server deliver the next frame, obviously.
replies(1): >>43578186 #
18. dalmo3 ◴[] No.43578186{4}[source]
AnimeNoJs
19. rk06 ◴[] No.43578231[source]
I don't even remember seeing such a fantastic landing page in long time. it makes you realise how bad others are.
replies(1): >>43591562 #
20. aitchnyu ◴[] No.43579154[source]
Does it provide fewer footguns for less experienced devs though?
21. loxs ◴[] No.43582992[source]
Yeah, this is the one place where doing it like this is 100% appropriate.
22. JulianGarnier ◴[] No.43583523[source]
Hey I'm the author of the lib, I'm thinking about making a course on how to re-create the landing page, would that be something you're interested in?
replies(9): >>43583673 #>>43584020 #>>43584281 #>>43584285 #>>43585444 #>>43586748 #>>43594880 #>>43595935 #>>43651910 #
23. JulianGarnier ◴[] No.43583549{3}[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.
24. bhattisatish ◴[] No.43583673{3}[source]
Oh yes!
25. firefoxd ◴[] No.43584020{3}[source]
Double yes
26. DirkH ◴[] No.43584281{3}[source]
Most certainly yes
27. TheTaytay ◴[] No.43584285{3}[source]
Literally what I came here to find! Incredible work!
28. azemetre ◴[] No.43585444{3}[source]
Yes please, is there a site or something that you have to collect emails for those interested?
replies(1): >>43591917 #
29. throwaway290 ◴[] No.43585462{3}[source]
not use animation in the first place :)
replies(1): >>43593632 #
30. Rendello ◴[] No.43586429{3}[source]
It reminds me how I felt when I first saw the recursive GoL:

https://oimo.io/works/life/

31. yosef123 ◴[] No.43586748{3}[source]
Don’t want to sound repetitive, but yes
32. ksec ◴[] No.43591513[source]
On what machine is that on?

I wish these type of page animation should be rendering to 120fps with less than 20% CPU spike for seconds and no warming up of CPU / GPU on a modern 2025 machine.

Unfortunately we are still not there yet. If we achieve that the web would be much more interesting. Brining back memories of Macromedia Flash.

33. andrei_says_ ◴[] No.43591562[source]
I’m confused, is this sarcasm?

On a mobile device the page requires miles of scrolling to go through a few sentences while rotating around a meaningless graphic.

Signal to noise ratio is abysmal.

replies(1): >>43594877 #
34. JulianGarnier ◴[] No.43591917{4}[source]
You can leave your email in the footer of the landing page > https://animejs.com/#site-footer I'll set up a dedicated temporary page for the course soon. Thanks for the interest!
replies(1): >>43628169 #
35. hydrolox ◴[] No.43593632{4}[source]
isn't the point that it's an animation library showcasing what's possible?
replies(1): >>43595037 #
36. wishinghand ◴[] No.43594877{3}[source]
Maybe it displays oddly on your phone but all I’ve seen is effusive praise for how the landing page is constructed. The graphic is meaningless but the information around it is informative. The graphic itself is meant to inspire rather than inform.
replies(1): >>43606219 #
37. wishinghand ◴[] No.43594880{3}[source]
I’d love to see that.
38. throwaway290 ◴[] No.43595037{5}[source]
good point, I read it as about websites in general but in this case why not.
39. jeleh ◴[] No.43595935{3}[source]
I would sign up for the course immediately!

What I would be particularly interested in: What is the creative process of turning an animation idea into code? Suppose I have an idea of what the animation should look like: What is the best way to approach the task of expressing the animation in code?

40. andrei_says_ ◴[] No.43606219{4}[source]
Thank you this makes sense. I had to scroll a lot to see one sentence-long phrase to change into another and found this too demanding for the payoff.

The graphic was pretty but did not provide additional insight for me.

As for execution- could’ve been frame-by-frame scroll-driven animation as far as I’m concerned.

41. frainfreeze ◴[] No.43628169{5}[source]
FYI: The form is erroring with "Something went wrong. Please try again later."
replies(1): >>43651899 #
42. JulianGarnier ◴[] No.43651899{6}[source]
Sorry about that. I had lots of issues with this form... I added a dedicated page for joining the wait list for the course I'm making about recreating the landing page. You can join here: https://animejs.com/learn/ (this signup form should work, otherwise you can email me directly at the email address listed below it)
43. JulianGarnier ◴[] No.43651910{3}[source]
It's decided, I'm making a course!

I'll explain how the new Anime.js website was created by recreating the entire landing page from scratch, while sharing all the animation tricks and techniques I've learned throughout the years.

You can join the waitlist here https://animejs.com/learn/