# mrdoob/texgen.js

JavaScript Texture Generator

Repository: https://github.com/mrdoob/texgen.js
Canonical: https://ross.abutalabs.com/products/texgenjs
Homepage: http://texgenjs.org/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2021-01-23T11:10:52+00:00

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

## Adoption (not part of the score)
Stars 1868, forks 137 (observed 2026-08-28T04:05:46.434522+00:00)

## What it is
texgen.js is a JavaScript library for generating procedural textures in the browser. It composes operations like XOR patterns, sine waves, and noise into a texture that can be rendered to a canvas.

## Use cases
- generate procedural textures for web games
- create tileable patterns with noise and sine functions in JavaScript
- generate textures at runtime instead of loading image assets
- experiment with procedural texture generation in the browser
- create decorative background patterns for web pages

## When to choose
- you need lightweight, dependency-free procedural texture generation in JavaScript
- you want to generate textures at runtime in the browser or Node.js
- you prefer composable, code-driven texture creation over image editing tools

## When to avoid
- you need GPU-accelerated or shader-based texture generation
- you require advanced features like PBR material authoring or 3D painting
- you need a library with active development and recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, image-processing, developer-tools
- domain: graphics, web-development
- platform: browser
- tags: procedural-textures, texture-generation, canvas, creative-coding, game-development, nodejs, javascript

## Member repositories
- mrdoob/texgen.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.434522+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-30T03:15:14.681805+00:00, confidence not recorded.
  - readme: https://github.com/mrdoob/texgen.js (fetched 2026-08-28T04:05:46.434522+00:00, sha 43f345b621b1)
  - homepage: http://texgenjs.org/ (fetched 2026-08-29T10:54:27.733449+00:00, sha 731b438d43af)
- Data as of 2026-08-30T08:39:29.467469+00:00.
