4 ms·
Show HN: Map of active customers for landing page
- edoceo 6y agoIt's cool but why the dependency on Vercel account for what is basically js/redis/svg?
- friendofafriend 6y agoNice work. I appreciate the relative simplicity of the integration & look forward to using this soon. Edit: Why the downvote?
- leesalminen 6y agoI had a customer ask for something similar a while back and ended up building something pretty close to this with Redis. I like your design more with the hexagons.
- lxe 6y agoIs this a live-streaming (forever-loading) SVG? Neato!
- ziolko 6y agoI considered this, but it doesn't add much value for my primary use case (landing page). While doing this I've learned that one can embed a <script> tag into SVG so this can implemented this way. Scripts run if the SVG is added to the page with <embed> or <object> tag, but not with the <img> tag. This opens a possibility of "graceful degradation" where the SVG uses live streaming where possible with a static fallback.
- Gys 6y agoLooks very cool and I appreciate the refs to previous work, very interesting. On my Mabook Pro 2019 the github page immediately takes a lot of cpu time. In whatever browser I am using the cpu cooling kicks in strongly. Also, on Safari the looks are not as good as in Firefox or Chrome.
- eerimoq 6y agoThe CPU usage sky rockets when showing the world SVG in my Chromium browser. Is there any trick to make the animated SVG be less CPU intensive?
- ziolko 6y agoRight, the animated SVG can be demanding for the browser. I will try to solve this in the upcoming days :)
- eerimoq 6y agoThanks! I use a slightly modified version of your beautiful map on my website (https://mys-lang.org/statistics.html https://mys-lang.org/statistics.html). No animations and the green circles are not quite aligned to the hexagons. Works well enough for my use case anyway.