4 ms·
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 c
by fogleman 9y 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? :)
https://github.com/fogleman/gg https://github.com/fogleman/gg
- eternalban 9y agoThat looks great.
- mmcloughlin 9y agoStanding 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).
- tidwall 9y agoLooks 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 https://github.com/tidwall/cities
- mmcloughlin 9y agoOh nice! Should have used this for the cities example here https://github.com/mmcloughlin/globe/blob/master/examples/cities.go 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.
- tidwall 9y agofwiw, I also created a javascript port of pinhole a few weeks back. https://github.com/tidwall/pinhole-js https://github.com/tidwall/pinhole-js
- shurcooL 9y ago> How many layers deep can we get? :) Layers, visualized: https://godoc.org/github.com/mmcloughlin/globe?import-graph&hide=1 https://godoc.org/github.com/mmcloughlin/globe?import-graph&...
- gciruelos 9y agoI'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!
- fogleman 9y agoHa, thanks!
- tidwall 9y agoAnyone wanting to whip up cool graphics with Go, definitely check out Michael's work. https://github.com/fogleman https://github.com/fogleman