Show HN: Generate a Fog Of War map from Google location data locally in browser

fog-of-war.eamag.me

1 points by eamag 5 hours ago

I've created a Fog Of War map based on my data export using python in 30 minutes, and decided to build a web app to make it easier for others. Then I spent a whole day trying to figure out how to do it in JS, why it's way slower (https://github.com/Turfjs/turf/issues/2851), how to optimize it (I tried Rust wasm but had too many problems with bindings for geo), then trying to deploy it as a static page but had too many problems with next.js error pages and awaits.

This version is still alpha, doesn't collect your data, built with next.js and deployed to cloudflare pages like this https://developers.cloudflare.com/pages/framework-guides/nex...