Readit News logoReadit News
Posted by u/trebeljahr a year ago
Ask HN: Do you know travel blogs that have animated SVG maps of their travels?
I'm searching for a travel blog that wrote a tutorial on how they created custom SVG animations for the routes he took along his trips.

I've been banging my head against Google for a solid 3-4 hours at this point but it is pointless to try to search something there these days so I come here.

I remember that the blogger in question was into photography and photographed the Te Whanganui-A-Hei (Cathedral Cove) in New Zealand during early morning with no people there and wrote a post about the process. And of course they had these small SVG animations of their trips at the top of their posts, with a map displaying the route they took, animating the path.

They wrote a pretty in-depth article about how they accomplished this with the help of some custom JS and SVG animations too and I am after that article.

If you know the name of the blog that would absolutely make my day!

Please also feel free to answer if you know anything similar to the title of the blog where somebody has created stylized animated SVG maps of their trips and documented the process they used to create those.

peterldowns · a year ago
Craig Mod's "Koya Bound" website has beautiful photos and custom SVG maps.

https://walkkumano.com/koyabound/

I thought this was so compelling that I ended up walking the trail myself. Incredible experience.

lbebber · a year ago
Oh, this was based off of a project I made for Codrops[1]. Let me know if you'd like some help or input!

[1]https://tympanus.net/Development/StorytellingMap/

CharlesW · a year ago
That and your other projects at lbebber.github.io/public are stellar, Lucas!
whycome · a year ago
Is there something like this that uses KMZ waypoints to craft the map/animation?
cmod · a year ago
Thank you for building this; over the years the bus animation has gone a bit wonky, but otherwise the page holds up really well. It’s a great library you built.
peterldowns · a year ago
I didn't realize you were the original programmer on this — amazing work!
neuraldenis · a year ago
Amazing project, love it!
exabrial · a year ago
This is the first time for me where a website hijacked the scroll wheel, and it's actually _really really_ well done. This is amazing. Thanks for posting it.
daemonologist · a year ago
The key is that it doesn't actually hijack the scroll wheel - the main content (header and text and photos on the left) all scrolls normally, controlled by the browser. The map just monitors the scroll position and element client rects and runs its own non-blocking visualization on the side.

I agree - beautifully implemented, and great content too.

kyleblarson · a year ago
Doing a temple stay at Koyasan is by far my favorite lifetime travel experience.
trebeljahr · a year ago
what made it so special?
bpev · a year ago
Fyi for those who tap in and see the map in the background instead of to the right of the content, the layout/treatment feels pretty different for desktop vs mobile.
trebeljahr · a year ago
This is soooo cool! It is not the blog I was searching for but wow :) Thanks for sharing it.
wahnfrieden · a year ago
His newer Iseji one is nice too

https://walkkumano.com/iseji/

benabbott · a year ago
This is really well done.
nicwolff · a year ago
That's just terrific!
BOOSTERHIDROGEN · a year ago
This gem.
skadamat · a year ago
I came here to link to this! I also spent a week trying to find this a few years back :)
rvrs · a year ago
Is it this one? https://photos.paulstamatiou.com/new-zealand/coromandel-peni...

EDIT: Any HN mods/devs reading this -- there seems to be a display bug for comment creation time? On edit it says 20hrs (accurate), whereas viewing the comments otherwise shows that it was posted an hour ago. Not sure what's going on

mtmail · a year ago
There's something called a second-chance queue for overlooked submissions https://news.ycombinator.com/pool (listed on https://news.ycombinator.com/lists)

Some older users (I think YC alumni) can nominate articles and moderators give them a boost. The timestamp doesn't change, I've seen 2 day old articles appearing. It's a bit confusing, I think it was hacked in years ago but works good enough.

PStamatiou · a year ago
That's my site! I did it for quite a few photosets, like this one https://photos.paulstamatiou.com/africa/southern-serengeti-t...

Surprised it still mostly works fine many years later

slopdo · a year ago
I'm not able to find the post that OP refers to about how you animated the SVGs. Maybe you could share the link? Thanks!
trebeljahr · a year ago
thanks for the great work :)
trebeljahr · a year ago
daaaamn!

That's the one :) Thank you so much for finding it!

yapyap · a year ago
I also see it as posted an hour ago, and see the original thread post as 2 hours ago.

Odd.

illwrks · a year ago
So.. I don't know what you're talking about but I work in a corporate environment where we can't use JS but we can use SVG images... As a consequence I end up creating graphics in illustrator, exporting to SVG and then hand animating them with CSS animations.

I wouldn't recommend doing it my way, but for path animations they are likely animating the stroke length. Here is an example that might help, but use an animation tool if you can.

https://css-tricks.com/svg-line-animation-works/

One thing of note with stroke animations.. if you transition to/from negative numbers the animation breaks in Safari (negative numbers are out of spec aparently). There is a work around but I can't remember it at the moment, it results in the stroke animation playing in reverse though.

As mentioned above, if you can use a JS library, use one.

trebeljahr · a year ago
nice, thanks for the article. Never seen this trick before but it looks super neat.

What sort of JS library would you recommend for a similar effect to this? PixiJs, D3, Paper, P5.js, good old vanilla canvas?

illwrks · a year ago
It depends on what your overall goal is. GSAP is a great but I’m not sure it’s suitable for SVG as it’s been a long time since I’ve used it.

If you have access to creative tools like illustrator and after effects then perhaps Lottie.

There are other tools on my radar but I’ve never used them SVGGator

sflanker · a year ago
https://tympanus.net/codrops/2015/12/16/animated-map-path-fo... Not an exact match for your description, but in the same vein
lbebber · a year ago
Oh, I made this! (almost a decade ago, huh)
trebeljahr · a year ago
this is one of the coolest things I've seen in a while and I'll take inspiration from the article.

Also, funny how in the blog post it says the Github will come soon and now almost a decade later there is still no Github link :)

bazzargh · a year ago
Not animated or svg, but along the same lines, some years ago I wrote https://bazzargh.github.io/stripmap/ which automates generating stripmaps. The idea was to eventually use this for travelogues of my cycling trips; a map of the route would be a sidebar to the text.

Since then I learned about https://en.wikipedia.org/wiki/Dubins_path as a way to find the path segments; combined with Douglas-Puecker that's probably what I'd use today.

sflanker · a year ago
Tangentially interesting: while leveraging Perplexity to try and find the blog post in question this post and your StackOverflow question already pollute the results it draws from and causes it to abort any more detailed search for such a blog post. I find this mildly amusing.
datadrivenangel · a year ago
Like when my googling solutions to a niche data integration interaction between two tools resulted in a first page result for one of my coworker's linkedin posts asking if anyone in her network knew the answer... The internet is shallow sometimes.
jachee · a year ago
This is Dead Internet theory in action.
trebeljahr · a year ago
have you seen the Freya Holmer video on generative AI as a parasitic cancer? https://www.youtube.com/watch?v=-opBifFfsMY

Also I love how the internet is "dead", yet here we are, on a website with a bunch of humans providing soooo much value that at least corners of the internet still seem very much alive.

I wish there were more sites like HN.

throwaway519 · a year ago
haha, I just asked ChatGPT and it references this HN post.

It's a small world.

trebeljahr · a year ago
whut?! this is unreal.
1wheel · a year ago
trebeljahr · a year ago
this is super cool! Do you know how they achieve this effect?
matallo · a year ago
I built something similar for my blog https://matall.in/posts/vietnam/

I didn't write a tutorial but you can check the code here https://github.com/matallo/matall.in