TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Globe visualizations in Golang

258 pointsby mmcloughlinalmost 8 years ago

11 comments

foglemanalmost 8 years ago
Glad to see more graphics work being done in Go. This is built on `pinhole`, which is built on `gg`, a 2D rendering library that I wrote. How many layers deep can we get? :)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;fogleman&#x2F;gg" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fogleman&#x2F;gg</a>
评论 #14719755 未加载
评论 #14722304 未加载
评论 #14723579 未加载
评论 #14725585 未加载
评论 #14719273 未加载
warentalmost 8 years ago
It&#x27;s always nice seeing unique projects in Golang appear like this. Also worth noting that this includes the ability to upload directly to imgur via the github.com&#x2F;mattn&#x2F;imgur tool. Once thing that I particularly love about Go is the built-in testing suite which mmcloughlin makes good use of.<p>The only critique I have here is to see some benchmarks! :)
评论 #14718770 未加载
评论 #14718583 未加载
ivanbakelalmost 8 years ago
The map in the readme is puzzling me. It&#x27;s almost like a riddle: what is there a lot of in the UK, east America, Portugal, and barely any of in Norway, Spain, and Belgium? It looks country-related, since you can see the borders defined pretty well. Is it the Starbucks data? It would explain why Finland appears to have a few, compared to its neighbours.
评论 #14718667 未加载
评论 #14718572 未加载
评论 #14718662 未加载
sxvalmost 8 years ago
How possible &#x2F; appropriate would it be to utilize this library to create an interactive version similar to this example using d3: <a href="https:&#x2F;&#x2F;www.jasondavies.com&#x2F;maps&#x2F;rotate&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jasondavies.com&#x2F;maps&#x2F;rotate&#x2F;</a>
评论 #14721837 未加载
goblin89almost 8 years ago
Does anyone know why isn’t it possible to get the same perspective (preserving scale, distances, areas) in Google Earth Web?<p>For example, you wouldn’t be able to get the shapes of continents along with the size of the whole globe in Google Earth visually match the projection under “line” example in README.<p>[0] <a href="https:&#x2F;&#x2F;earth.google.com&#x2F;web&#x2F;@54.45747286,-25.48168721,-8084.09363679a,16700413.46093416d,35y,0h,0t,0r" rel="nofollow">https:&#x2F;&#x2F;earth.google.com&#x2F;web&#x2F;@54.45747286,-25.48168721,-8084...</a>
评论 #14723842 未加载
Scirra_Tomalmost 8 years ago
This looks really cool! One comment, in this picture: <a href="https:&#x2F;&#x2F;camo.githubusercontent.com&#x2F;16434461a69346de4ee07b950f8c9e3f7ec733b5&#x2F;687474703a2f2f692e696d6775722e636f6d2f4b4a66496c396c2e706e67" rel="nofollow">https:&#x2F;&#x2F;camo.githubusercontent.com&#x2F;16434461a69346de4ee07b950...</a><p>The left and right side of the rectangle are correctly bent around the shape of the globe. However, the top and bottom sides of the rectangle are not. Is this intention (or am I being stupid?)
评论 #14718898 未加载
graetzeralmost 8 years ago
Looks really cool! How many points can one draw with this before it becomes too slow? I did a similar looking 3D globe animation with WebGL once and the total number of points was quite an issue<p><a href="http:&#x2F;&#x2F;jsfiddle.net&#x2F;go2t1r4q&#x2F;2&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;go2t1r4q&#x2F;2&#x2F;</a>
elcapitanalmost 8 years ago
Looks great!<p>Was there a particular reason why you chose Go to implement this? (strong side of the language or sth like that)
评论 #14719827 未加载
AYBABTMEalmost 8 years ago
That&#x27;s pretty cool! It would be nice if the API allowed writing to io.Writer instead of taking filenames.
评论 #14722934 未加载
gravypodalmost 8 years ago
Are there any provisions for drawing a color mesh on something like this?<p>Thanks!
newtem0almost 8 years ago
I need to learn go
评论 #14721797 未加载