# riccardoscalco/textures

Textures.js is a JavaScript library for creating SVG patterns

Repository: https://github.com/riccardoscalco/textures
Canonical: https://ross.abutalabs.com/products/textures
Homepage: http://riccardoscalco.github.io/textures/
Language: JavaScript
License: MIT
License Family: permissive
Topics: textures, patterns, svg, d3
Last push: 2023-01-01T20:03:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4235, "days_push": 1340, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6090, forks 220 (observed 2026-08-28T04:09:34.973726+00:00)

## What it is
Textures.js is a JavaScript library built on top of d3.js for generating SVG patterns such as lines, circles, and paths. It is designed for data visualization, allowing categories to be distinguished with textured fills.

## Use cases
- create svg patterns for data visualization
- add texture fills to d3 charts
- distinguish map regions with svg patterns
- generate line and circle patterns in svg
- make accessible categorical color-plus-texture encodings

## When to choose
- you are already using d3 and need pattern fills for charts or maps
- you want lightweight, MIT-licensed SVG texture generation in the browser

## When to avoid
- you need canvas or WebGL-based textures
- your project does not use SVG or d3-style selections

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, ui-components, graphics
- domain: data-visualization, frontend, web-development
- platform: browser
- tags: svg-patterns, d3, textures, dataviz, nodejs, javascript

## Member repositories
- riccardoscalco/textures (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.973726+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:48:17.802680+00:00, confidence not recorded.
  - readme: https://github.com/riccardoscalco/textures (fetched 2026-08-28T04:09:34.973726+00:00, sha 6496c5e2ebe8)
  - homepage: http://riccardoscalco.github.io/textures/ (fetched 2026-08-29T08:45:06.378654+00:00, sha 362d9648cb22)
  - registry_npm: https://registry.npmjs.org/textures (fetched 2026-08-29T08:45:06.387779+00:00, sha ba9a1afce1f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
