Textures.js

Data

data visualisation library

SHOW HN2015

404points
61comments
#28of 2,565 in 2015
Top 2%of 2015 by points

How HN took it

LovedMost comments that take a side are positive

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 HN
    • beautiful!
      bujatt on HN
    • Very beautiful :D
      kenrick95 on HN
    • this 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 HN
    • Patterns are actually much better for colour-blind people like myself.
      Normangorman on HN
    • This 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 HN
    • this 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 HN
    • Incredibly 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 HN
    • 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 HN
    • Isn'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 HN
    • imho, 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 HN
    • Image 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 HN
    • It 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 HN
    • Here’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 HN
    • Of 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

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/9224776)