HN user

stankot

1,152 karma

My personal website - https://muffinman.io

Posts30
Comments88
View on HN
muffinman.io 1y ago

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

stankot
2pts0
muffinman.io 1y ago

Show HN: Bard – An Experiment in Robot Poetry

stankot
5pts1
news.ycombinator.com 1y ago

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

stankot
7pts8
muffinman.io 1y ago

CSS-Only Glitch Effect

stankot
5pts1
muffinman.io 1y ago

Bunny Jumps Again

stankot
3pts0
muffinman.io 1y ago

Show HN: The Tiny Book of Great Joys

stankot
1pts0
lhartikk.github.io 1y ago

ArnoldC – language based on the one liners of Arnold Schwarzenegger

stankot
1pts0
tamulaitis.lt 1y ago

Doom on a modified rotary phone

stankot
8pts1
muffinman.io 1y ago

Show HN: Pulsar, micro creative coding playground

stankot
182pts34
mitxela.com 2y ago

Robot Slide Whistle Orchestrion

stankot
1pts0
muffinman.io 2y ago

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

stankot
2pts0
muffinman.io 2y ago

Show HN: Pulsar – Micro creative coding playground

stankot
2pts0
muffinman.io 3y ago

Show HN: Giraffe as a Custom Input Caret

stankot
2pts0
stanko.github.io 6y ago

Blog is now Google free

stankot
2pts0
lettersfromsarajevo.com 6y ago

Show HN: Letters from Sarajevo, web adaption of the book

stankot
1pts1
breathe-v1.netlify.com 6y ago

Show HN: Breathe – Generative Art Piece

stankot
3pts3
muffinman.io 6y ago

Show HN: Metaballs, Generative Art Piece

stankot
3pts1
neon-v1.netlify.com 6y ago

Show HN: Neon – Generative art piece made using 2D vector field

stankot
29pts10
medium.com 7y ago

Japanese and the dying art of civilised travelling

stankot
2pts0
stanko.github.io 8y ago

Setting Up Webpack, Babel and React from Scratch

stankot
59pts12
stanko.github.io 8y ago

Show HN: React SVG image filter

stankot
3pts0
www.npmjs.com 8y ago

Show HN: Plx – React parallax component

stankot
2pts3
stanko.github.io 8y ago

React-plx, React parallax component, lightweight and performant

stankot
2pts3
stanko.github.io 9y ago

React, slide up/down, no dependency component

stankot
1pts0
github.com 9y ago

Webpack 2 boilerplate (React and Redux)

stankot
3pts0
stanko.github.io 9y ago

Animated window scroll function, standalone, plain JS

stankot
1pts0
stanko.github.io 10y ago

Draw and animate circle sectors with JS

stankot
2pts0
stanko.github.io 10y ago

React slider with no dependencies

stankot
1pts0
stanko.github.io 10y ago

Play inline HTML videos on iPhone (no sound)

stankot
1pts0
stanko.github.io 11y ago

SkyBlue – Small SASS framework

stankot
67pts23

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.

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.

Kagi for Kids 1 year ago

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/

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.

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.

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.

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.

Hey, author here, glad to see it popping up on HN.

I see people started opening issues and leaving bug reports here. I’ll try to go through them tomorrow (it is getting late here).

I created it because I needed it for my generative drawings. I prefer dragging a slider and seeing how the image changes, more than typing in a number.

I really tried to keep it minimal.

I love creative coding. I'm mostly focused on the visual stuff, especially generating vector files for pen-plotting. That said, I'm very proud of Rayven, my small vector 3D engine that mimics hand hatching:

- https://muffinman.io/blog/sneak-peek-of-rayven/

I would say it is 80% done, but it needs to be polished for a public release. I do plan to release it, and I would love to prepare a proper talk about it.

There are also other small tools I created, like Pulsar (micro creative coding playground) and Vertigo (turning raster images to SVGs). Both are open source and available here:

- https://muffinman.io/pulsar/

- https://muffinman.io/vertigo/

If you liked these, you might want to check my other projects: - https://muffinman.io/projects/

That was a lot of shameless self-promotion, but I love these "useless" projects. They really put fun back into programming after being in the industry for a while. Cheers!

Edit: formatting

It is probably the safest to use an iframe (like CodePen for example), but I was looking for a simpler solution. I ended up with a web worker as it has a completely separate scope (no access to window object). However, it still has access to a bunch of browser APIs, so I also have a list of “forbidden” words. It is not ideal, (as proved in one of the comments below) but it is a middle ground that seemed fine for my usecase.

Your thing is way more hardcore!

As for colors, I wanted more than one color (or two with negative), so I went with a simple hardcoded palette. I wanted to keep the scope in control, but I might try inverting colors when I decide to add more features. Thanks!

Hehe I don't mind, it is my favorite off topic, I love pen plotting. I use it to draw my generative art, which you can see here:

https://muffinman.io/art/

As for the engraver, keep in mind that AxiDraw is only using the weight of the pen (engraver) to press on a surface, so you might need to add some weight for it to work. But please be careful not to damage the servo motor or the plotter. Tyler Hobbs did something similar, he was using a drill bit to remove fresh paint from mirrors: https://www.tylerxhobbs.com/works/mirror-removal

People are doing all kinds of wacky stuff with plotters. I want to try using a brush along with markers. I think the combination of the two can be used to create interesting effects.