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
20082026
-
…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
comment by betamike · 2014-10-28 · in Show HN: Create generative background images from a string in Go -
…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...
comment by pravj · 2014-10-28 · in Show HN: Create generative background images from a string in Go -
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]…
comment by latch · 2014-10-28 · in Show HN: Create generative background images from a string in Go -
▲ 188
Show HN: Create generative background images from a string in Gostory by pravj · 2014-10-28 · 22 comments