Textures.js
Data
data visualisation library
SHOW HN2015
How HN took it
22 positive, 10 neutral or asking, 2 mixed, 4 critical, out of 38 comments about the project. Thread score +0.51.
Idea: 8 for, 3 againstDesign: 8 for, 1 againstExecution: 3 for, 0 againstDocs: 1 for, 0 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
Beautiful, lovely visual design
From 4 comments
This is lovely. When I see this, I don't think 'patterns', rather, 'hatches'. Makes me wonder what the state of modern SVG is w.r.t. real-world units - something like this really…
anoother on HNbeautiful!
bujatt on HNVery beautiful :D
kenrick95 on HNthis is awesome! excellent for monochrome.
radiodario on HN
Useful for colorblind readers and monochrome or print output
From 4 comments
Awesome for colorblind people! Looking forward to using this.
Hytosys on HNPatterns are actually much better for colour-blind people like myself.
Normangorman on HNThis library is fantastic. These patterns are essential in the production of print-ready and print-like contents. With the high resolution screens available today these make for…
mmf on HNthis is awesome! excellent for monochrome.
radiodario on HN
Well executed attention to detail
From 2 comments
Very good attention to details! (like the position of circle patterns on edges of shapes) Have a star, you deserve it :)
Fiahil on HNIncredibly well done.
hackerews on HN
Objections
Patterns can be noisy and less effective than colour for data
From 3 comments
Loving the retro look. But I'm not sure if patterns are as good as colors in communicating data. As soon as the data has even an ordinal scale, gradients or hues should work…
matt4077 on HNTufte points out 1 + 1 is 3 or more visually. The two lines create two elements, then the space is another, then the space on either is potentially another.…
jweir on HNIsn't this what Tufte refers to as "chartjunk"?
marxidad on HN
Method chaining API is harder to configure than a config object
From 2 comments
I never like how they chain methods. A better way would be: ``` texture({lines: true, heavier: true, stroke: 'red'}) ``` Is easier to configure if you need reusable textures.
ttty on HNimho, if the operations are to be performed in a certain order, use chaining. Otherwise, passing a config object is much cleaner
findjashua on HN
Requests
Support a config-object constructor API
From 2 comments
An initial config object would probably be ideal, and then you could have the chaining to supplement those values. You could have the initial method take in the config and use…
wayfarer2s on HNImage you have an UI which talks to this. For example you have a button on/off. How would you do? ``` var t = texture().lines().stroke('red') if(this.button.on) t=…
ttty on HN
Questions
Best use cases beyond geographic maps
From 1 comment
Wonderful! What are the best use case for using this patterns apart from geo graph representation?
jpatel3 on HN
Alternatives named
Tufte and Bertin principles on graphical design
From 3 comments
Tufte points out 1 + 1 is 3 or more visually. The two lines create two elements, then the space is another, then the space on either is potentially another.…
jweir on HNIt reminds me of Semiology of Graphics by Bertin. Nice work! I would like to work on React port, only if I have a spare time...
sairion on HNHere’s what Tufte says: > Can optical art effects ever produce a better graphic? Bertin exhorts: “It is the designer’s duty to make the most of this variation; to obtain the…
jacobolus on HN
CSS repeating-linear-gradient
From 1 comment
I just want to point out that many of the line textures can also be made with repeating-linear-gradient() from CSS, perhaps more efficiently so.
pdknsk on HN
ColorBrewer
From 2 comments
Shades of gray would work as well. Also checkout http://colorbrewer2.org/ It has an option for creating color sets which are "colorblind safe."
jweir on HNOf course he did consider color blindness. Tufte recommends Imhof’s book Cartographic Relief Presentation on the subject of choosing colors for data graphics, and I’d second the…
jacobolus on HN