TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Globe visualizations in Golang

258 点作者 mmcloughlin将近 8 年前

11 条评论

fogleman将近 8 年前
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 未加载
warent将近 8 年前
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 未加载
ivanbakel将近 8 年前
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 未加载
sxv将近 8 年前
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 未加载
goblin89将近 8 年前
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_Tom将近 8 年前
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 未加载
graetzer将近 8 年前
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>
elcapitan将近 8 年前
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 未加载
AYBABTME将近 8 年前
That&#x27;s pretty cool! It would be nice if the API allowed writing to io.Writer instead of taking filenames.
评论 #14722934 未加载
gravypod将近 8 年前
Are there any provisions for drawing a color mesh on something like this?<p>Thanks!
newtem0将近 8 年前
I need to learn go
评论 #14721797 未加载