Hacker GitHub

← All repos

pravj/geopattern

View on GitHub ↗ ★ 1,287 Go

:triangular_ruler: Create beautiful generative image patterns from a string in golang.

4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2014-10-28 · latest 2014-10-28

Mentions per year 4 mentions · busiest year 2014 (4)
20082026
  1. …reflection. You can pretty easily convert it to a type switch [2], which is more idiomatic. [1] https://github.com/pravj/geo_pattern/blob/master/svg/svg.go#... [2] https://golang.org/doc/effective_go.html#type_switch
  2. …request covering points 2 and 3 :) And I'll try to cover your point 1 on my own :) Cheers \o/ [1] https://github.com/pravj/geo_pattern/blob/master/pattern/pat...
  3. import "github.com/pravj/geo_pattern/pattern" will import from the file system, at $GOPATH/src/github.com/pravj/geo_pattern/pattern/ however, go get will fetch from the URL and install it in said path (it's a mixed blessing) The [free]…