161 comments

[ 3.9 ms ] story [ 256 ms ] thread
(comment deleted)
(comment deleted)
Are there authoring tools available, as with Lottie, or is it code-only?
I like that I can grab and drag the browser’s scroll indicator and the animation updates seamlessly (safari mobile).
I get a black screen with a scroll bar. Lockdown mode on iOS.
Most likely due to iOS lockdown mode disabling WebGL rendering.
Same for me on desktop Linux Chromium (with and without incognito mode), and yes console prints WebGL errors:

> scripts.js?v=1:3820 THREE.WebGLRenderer: A WebGL context could not be created. Reason: Web page caused context loss and was blocked

> scripts.js?v=1:3820 THREE.WebGLRenderer: A WebGL context could not be created. Reason: Failed to create a WebGL2 context.

> When Lockdown Mode is enabled, your device won’t function like it typically does. (…)

> Web browsing - Certain complex web technologies are blocked, which might cause some websites to load more slowly or not operate correctly.

https://support.apple.com/en-us/105120

It responds to the scrolling, leaving agency to the user, instead of hijacking scrolling, that steal agency from the user, that some web sites do. It's so much better of a solution and friendly to accessibility.
TIL you can grab the scroll bar on iOS!!

Thanks for this. Jumping to the bottom of a page was such a chore for me.

This is insane. API looks great, landing page is the best thing I've ever seen and just so feature rich. I wish I had a way to use this in my primary application.
Scrolling through that landing page felt a lot smoother & snappier than I would've expected for a page looking like that.
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!
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.
Yes - exactly. If they were that smooth and looked that good, I'd like more of them. So creative.
Yeah, this is the one place where doing it like this is 100% appropriate.
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)
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.
False. Let the web be fun again
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.

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.
So what would you suggest to use to move the animation forward?
That missing Playdate phone accessory.
Submitting a form repeatedly by hammering enter and having a new HTML fragment rendered on the server deliver the next frame, obviously.
not use animation in the first place :)
isn't the point that it's an animation library showcasing what's possible?
good point, I read it as about websites in general but in this case why not.
For most websites, sure. For this website? It makes sense, it's a great demo for the product.
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.
Do they explain how they made the landing page or share the code somewhere? I agree, it's stunning.
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?
Most certainly yes
Literally what I came here to find! Incredible work!
Yes please, is there a site or something that you have to collect emails for those interested?
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!
FYI: The form is erroring with "Something went wrong. Please try again later."
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)
Don’t want to sound repetitive, but yes
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?

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/

I don't even remember seeing such a fantastic landing page in long time. it makes you realise how bad others are.
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.

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.
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.

Does it provide fewer footguns for less experienced devs though?
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.

Love that the source is in Javascript, with type annotations. The compiled files in the /lib folder are also much smaller than I expected. I will likely be using this.
I love how CSS Transforms are so efficient. This is a great lightweight alternative over GSAP.
I can't speak to what it's like to actually work with this, but I really like the API design and docs. This feels really well thought out. Looking through the timer docs for example, it took just a minute or so to understand what the timer API can do and how to do it. This gives me a lot of confidence to try out the library.

As others have said, beautiful work on the lander. It looks and performs beautifully.

Wow, that homepage was one of the more complex and layer filled interactive animations that I ever seen running so smoothly on a mobile browser. Those FPS feel like a Doom 2016 on a beefy PC.
This works really well on the less conventional android browsers I use. Kudos to them, says good things about the library.
These docs are a work of art themselves, fantastic.
I thought the main site was amazing, then I saw the docs. Absolutely amazing work. Well done. Extremely excited to try out WAAPI.
This is INCREDIBLE. What! I could spend hours just playing around with the hecking documentation pages. EVERYTHING is so well thought out AND presented. I'm in awe.
Whomever designed that interactive landing page animation deserves some kind of Nobel prize.
Finally. AnimeJS is such an amazing project, congratulations on the release.
I love how breaking changes in the latest version are shown as diffs.
I can feel the rotary dials tick on my mouse scrollwheel :-)

How was the model on the homepage created?

The animations in the docs page is crazy informative, interactive and fluid.
Anyone remembers DHMTL from Internet Explorer 4.0? From that - to this. What an evolution of web technologies.
Haha, yes. Ist was a great time. document.all etc
I was just working on a "web app" for personal use yesterday where I'm doing document.getElementById and so forth. It still works ¯\_(ツ)_/¯
Yes and we still haven't perfected the idea of DHTML.
(comment deleted)