Live data from Hacker News

Draw SVG rope using JavaScript

muffinman.io

1–10 of 74 posts

Re: Draw SVG rope using JavaScript

#2
Everything about this is stunning and incredible. It’s one of those webpages that is art itself. Such a beautiful presentation. It’s also amazing to see someone walking through this kind of problem. It escapes me entirely but you make it look so obvious in the end!

Re: Draw SVG rope using JavaScript

#3
Absolutely beautiful, excellent work.

I would like to comment that for the animation it has the rope anchored on the left. I think that a up and down loop animation would be most natural to have the center of the rope anchored since that motion is generated with two hands going in and out, the center should not look like it slides back and forth as the visible length changes.

Re: Draw SVG rope using JavaScript

#5
Computer graphics is such a fun area to work in. This rope is a perfect example of how having strong high school level math skills and a good idea can turn you into a kind of wizard. It’s a really special feeling when you bring to life a dynamic illustration that you can customize programmatically. If you let it go to your head, if kind of makes you feel like a god.

Re: Draw SVG rope using JavaScript

#10
post #9

Does this work well on iOS?, I experienced some issues with foreignObject, and I failed to import an SVG in a react project, does anyone have an idea what I can do about that? https://chagai.website/chagai-website-react/ Or the code here: https://github.com/chagai95/chagai-website-react

[deleted]
Post reply on HN