News for hackers. Stuff that matters.
Re:Show HN: Globe visualizations in Golang by fogleman on Friday July 07, 2017 @11:10AM (#14718911)
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? :)

https://github.com/fogleman/gg

Re:Show HN: Globe visualizations in Golang by mmcloughlin on Friday July 07, 2017 @12:36PM (#14719755)
Standing on the shoulders of giants :)

gg and pinhole made this easy to write. The globe package really just deals with mapping (lat, lng) space to cartestian coordinates (and also includes some land/country datasets).

Re:Show HN: Globe visualizations in Golang by tidwall on Friday July 07, 2017 @02:10PM (#14720631)
Looks so good. The detail is just amazing!

This may or may not be useful, but here's a Go package containing a bunch of city data. It might be a good fit for people using your project.

https://github.com/tidwall/cities

Re:Show HN: Globe visualizations in Golang by mmcloughlin on Friday July 07, 2017 @04:36PM (#14721851)
Oh nice! Should have used this for the cities example here

https://github.com/mmcloughlin/globe/blob/master/examples/ci...

In fact I might switch it, since the cities json file I used has some oddities.

Re:Show HN: Globe visualizations in Golang by tidwall on Friday July 07, 2017 @03:46PM (#14721474)
fwiw, I also created a javascript port of pinhole a few weeks back. https://github.com/tidwall/pinhole-js
Re:Show HN: Globe visualizations in Golang by shurcooL on Friday July 07, 2017 @05:32PM (#14722304)
> How many layers deep can we get? :)

Layers, visualized:

https://godoc.org/github.com/mmcloughlin/globe?import-graph&...

Re:Show HN: Globe visualizations in Golang by gciruelos on Friday July 07, 2017 @09:42PM (#14723579)
I've been following you on github for a long time (since the minecraft clone you made in C was featured in /r/programming). You are insane man, I love your work.

Keep it up!

Re:Show HN: Globe visualizations in Golang by fogleman on Friday July 07, 2017 @10:07PM (#14723668)
Ha, thanks!
Re:Show HN: Globe visualizations in Golang by tidwall on Saturday July 08, 2017 @10:54AM (#14725585)
Anyone wanting to whip up cool graphics with Go, definitely check out Michael's work.

https://github.com/fogleman

Re:Show HN: Globe visualizations in Golang by eternalban on Friday July 07, 2017 @11:44AM (#14719273)
That looks great.