geo_pattern
Dev tools
image generation library
SHOW HN2014
How HN took it
4 positive, 4 neutral or asking, 1 mixed, 3 critical, out of 12 comments about the project. Thread score +0.08.
Idea: 3 for, 1 againstDesign: 0 for, 1 againstExecution: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Cool project and nice visualizations
From 3 comments
This is really cool! I quite like the js port https://github.com/btmills/geopattern which you can drop into a website very easily.
chii on HNnice project, and pretty cool visualizations! i did port a lot of the xscreensavers to plan9 and then a few of them to go when go came out. this reminds me a lot of some of them.…
f2f on HNNice idea and implementation. We developed a related application which creates colors from git commit sha strings. Have a look at http://gitart.me/repos/rails/rails
zorbash on HN
Useful for identicon-style consistent backgrounds from a seed like a username
From 2 comments
Say I'm using this to generate a background image for each post on HN. Also, I want them to be consistent, so everywhere you see a mVChr post it's got a green ringed background.…
xnxn on HNGot it. I can envision the uses for it now. Thanks for the explanation.
mVChr on HN
Objections
Go API design is unidiomatic: map options instead of a struct, stringly typed inputs
From 2 comments
Some Go API style nits: - it's unusual to pass a map with expected keys like this. Normally you'd pass a struct like: p := New(Options{ BaseColor: "...", Color: "...", Generator:…
ImJasonH on HNRegarding 4, I personally tend to be distrustful of what is often described as Stringly Typed code. To me, statically constraining your API to only accept valid inputs seems like…
pdpi on HN
Uses reflection where a type switch would be more idiomatic
From 1 comment
Another minor nitpick, here [1] you are using reflection. You can pretty easily convert it to a type switch [2], which is more idiomatic. [1]…
betamike on HN
Requests
Use constants for known patterns and camel-case field names
From 1 comment
Some Go API style nits: - it's unusual to pass a map with expected keys like this. Normally you'd pass a struct like: p := New(Options{ BaseColor: "...", Color: "...", Generator:…
ImJasonH on HN
Support animation of the patterns
From 1 comment
nice project, and pretty cool visualizations! i did port a lot of the xscreensavers to plan9 and then a few of them to go when go came out. this reminds me a lot of some of them.…
f2f on HN
Questions
What is the point of generating from a hash of a string versus random patterns
From 1 comment
This is not meant to be snarky, but what's the point of this? What use does the pattern being uniquely generated from a SHA of a distinct string have over a random pattern being…
mVChr on HN
Who owns copyright of generated images
From 1 comment
I see they have an MIT license, which is great, but I have a theoretical copyright question. If they didn't license out the code and, instead, made a background-image-generating…
MichaelApproved on HN
Alternatives named
JavaScript port geopattern
From 1 comment
This is really cool! I quite like the js port https://github.com/btmills/geopattern which you can drop into a website very easily.
chii on HN
gitart.me colors from git commit SHAs
From 1 comment
Nice idea and implementation. We developed a related application which creates colors from git commit sha strings. Have a look at http://gitart.me/repos/rails/rails
zorbash on HN
X11 screensavers ported to Go
From 1 comment
nice project, and pretty cool visualizations! i did port a lot of the xscreensavers to plan9 and then a few of them to go when go came out. this reminds me a lot of some of them.…
f2f on HN