HackerTrans
トップ新着トレンドコメント過去質問紹介求人

stankot

no profile record

投稿

Show HN: Monorail – Turn CSS animations into interactive SVG graphs

muffinman.io
2 ポイント·投稿者 stankot·昨年·0 コメント

Show HN: Bard – An Experiment in Robot Poetry

muffinman.io
5 ポイント·投稿者 stankot·昨年·1 コメント

Ask HN: How do you ensure you don't get locked from your email?

7 ポイント·投稿者 stankot·昨年·8 コメント

CSS-Only Glitch Effect

muffinman.io
5 ポイント·投稿者 stankot·昨年·1 コメント

Bunny Jumps Again

muffinman.io
3 ポイント·投稿者 stankot·昨年·0 コメント

Show HN: The Tiny Book of Great Joys

muffinman.io
1 ポイント·投稿者 stankot·昨年·0 コメント

ArnoldC – language based on the one liners of Arnold Schwarzenegger

lhartikk.github.io
1 ポイント·投稿者 stankot·2 年前·0 コメント

Doom on a modified rotary phone

tamulaitis.lt
8 ポイント·投稿者 stankot·2 年前·1 コメント

Show HN: Pulsar, micro creative coding playground

muffinman.io
182 ポイント·投稿者 stankot·2 年前·34 コメント

Robot Slide Whistle Orchestrion

mitxela.com
1 ポイント·投稿者 stankot·2 年前·0 コメント

Show HN: Tailor – Web extension for measuring and inspecting elements

muffinman.io
2 ポイント·投稿者 stankot·2 年前·0 コメント

Show HN: Pulsar – Micro creative coding playground

muffinman.io
2 ポイント·投稿者 stankot·2 年前·0 コメント

Show HN: Giraffe as a Custom Input Caret

muffinman.io
2 ポイント·投稿者 stankot·3 年前·0 コメント

コメント

stankot
·昨年·議論
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.
stankot
·昨年·議論
Go for it, and share a link!
stankot
·昨年·議論
Thanks for checking, I’ll try to see what is going on.
stankot
·昨年·議論
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.
stankot
·昨年·議論
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!
stankot
·昨年·議論
I stumbled on this some time ago and saved it for when my kid grows up enough. It is a collection of a few thousands kid friendly videos. I think their curation is pretty good, but check it out for yourself.

https://thekidshouldseethis.com/
stankot
·昨年·議論
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.
stankot
·昨年·議論
Thank you, you made my day!
stankot
·昨年·議論
Thanks for the tip! Does it make paper shiny and stiff?
stankot
·昨年·議論
This is awesome! I’ve seen it but forgot to bookmark it, thanks for sharing it again.
stankot
·昨年·議論
Sure, I think the hard part is creating hand drawn animation. If you can draw or generate it, the rest is fairly straight forward.

I have an idea for somewhat different flip animation, stay tuned :)
stankot
·昨年·議論
Actually that's my usual approach, but you should see the vector output from these. I tried doing it and than went back to cleaning up the raster images.
stankot
·昨年·議論
For me, pen plotting is a lot of fun. There is something so satisfying in bringing digital work to the physical world.

As for the text, I have it on my todo list to create a few single line fonts, for some time now. The obvious one is my own handwriting, ideally with some randomness built in. I would like others to be less conventional to sprinkle them in my drawings, or like you mentioned, to create some pieces that are text only.
stankot
·昨年·議論
That is correct. I use AxiDraw SE/A3 and I love it. One of the best purchases I ever made.
stankot
·2 年前·議論
I just released a fix for it and updated the blog post.
stankot
·2 年前·議論
Honestly, I don't think that is a bug. All examples are quite dense and the thumb covers multiple steps on the track. Firefox then translates every click like you clicked directly on the track. The library doesn't interfere with it in any way, it is how Firefox works.
stankot
·2 年前·議論
If you can replicate this, please open a github issue [1].

Which browser and OS are you using? Because this library doesn't do anything regarding the scroll blocking (because it is using native inputs). On my phone (iOS) scroll is blocked on all input[type=range] elements, styled or not.

[1] https://github.com/Stanko/dual-range-input/issues
stankot
·2 年前·議論
I think it can be theoretically done, like it is mentioned in the comment above, but you would need a new block of CSS for every slider min/max/step combination. It feels it would be harder to maintain than the javascript version.
stankot
·2 年前·議論
Nice catch! Actually I thought of this and it works in Chrome and Firefox, but it seems that Safari is not triggering the focus event on mouse down, but only when you start moving the slider. Thank you for the report, I'll make sure to fix it.
stankot
·2 年前·議論
Thank you, comments like yours really make my day!