stankot

Joined 11 years ago

Karma
1,152
Submissions
124
Member since
Mar 9
My personal website - https://muffinman.io
View on Hacker News

Recent submissions

Comment · 1 year ago
I've figured it out. The error means that this call fails:

    const animation = animationElement.getAnimations()[0];
As Firefox supports `getAnimations` since 2020, I figured something else is messing up with it. I've tried to enable "reduced motion" in the system settings and it broke the animation!

It is because I had force-disabled all animations on the site when this option is enabled.

I patched it, it should work now. Thank you for your help!

EDIT: typo

EDIT2: I also added simple error handling to display a message if parsing the animation fails.

Comment · 1 year ago
Go for it, and share a link!
Comment · 1 year ago
Thanks for checking, I’ll try to see what is going on.
Comment · 1 year ago
That is weird, because it is HTML/CSS only. Do you see anything that would help me debug it? Could it be that an add-on (content blocker) messes up with it? I don't have an android device to test. I don't see any issues on desktop and ios though.
Comment · 1 year ago
Tixy is amazing! I built something very similar:

https://muffinman.io/pulsar/

I wanted to create animations for my LED matrix screen, and I couldn’t find tixy anywhere. Only after I built pulsar I found it again.

Another similar project is https://sliderland.blinry.org/ which uses HTML sliders.

Fun stuff!

Comment · 1 year ago
Comment · 1 year ago
Thank you! There is nothing wrong with large libraries. But you are right, there is something very satisfactory in solving a problem in a few lines of code.
Comment · 1 year ago
Thank you, you made my day!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton