{"adoption": {"forks": 27, "observed_at": "2026-08-28T04:04:01.969758+00:00", "stars": 1220}, "canonical_url": "https://ross.abutalabs.com/products/spectraljs", "card": {"archived": false, "artifact_type": "library", "description": "Spectral.js is a paint like color mixing library utilizing the Kubelka-Munk theory.", "domain": ["graphics", "web-development", "frontend"], "enriched": true, "function": ["graphics", "image-processing", "math"], "health_score": 68, "homepage": "https://spectraljs.com/", "language": "HTML", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["rvanwijnen/spectral.js"], "name": "rvanwijnen/spectral.js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-01-01T16:12:50+00:00", "repo": "rvanwijnen/spectral.js", "stars": 1220, "tags": ["color-mixing", "kubelka-munk", "pigment", "color-science", "oklab", "gradient", "palette", "creative-coding", "game-development", "nodejs", "javascript"], "topics": ["color", "colors", "kubelka-munk", "paint", "blend", "blending", "gradient", "mixing", "palette", "pigment"], "urls": [], "use_cases": ["mix colors like real paint in javascript", "create realistic color gradients in the browser", "build a digital painting app with pigment mixing", "generate paint-like color palettes", "blend colors physically accurately instead of RGB", "implement a color picker with realistic mixing", "creative coding with spectral color blending"], "what_it_is": "Spectral.js is a lightweight JavaScript library for realistic paint-like color mixing based on the Kubelka-Munk theory, simulating how pigments absorb and scatter light. It uses spectral reflectance and perceptual color spaces like OKLab and OKLCh with gamut mapping, rather than simple RGB blending.", "when_to_avoid": ["you just need simple linear RGB or HSL blending", "you need full multi-constant Kubelka-Munk with measured pigment data", "you're working outside JavaScript/browser environments", "performance-critical pixel loops where spectral math is too heavy"], "when_to_choose": ["you need physically plausible pigment mixing rather than RGB interpolation", "you're building painting tools, color pickers, or palette generators in JavaScript", "you want perceptually uniform color math with OKLab/OKLCh and gamut mapping", "you need a lightweight, dependency-free color mixing library"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/spectraljs", "repo": "rvanwijnen/spectral.js", "role": "main", "score": 48}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.969758+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:16:10.073821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "892feb29d0d01721cac0f6c9462b9529f6f7473f38e69f205e49fd02e8b38599", "fetched_at": "2026-08-28T04:04:01.969758+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rvanwijnen/spectral.js"}, {"content_hash": "c9faa9f440187757ab9fed0cff482b89e214f5425f4c9e1416a8b5e0a1de4e9a", "fetched_at": "2026-08-29T12:24:22.899509+00:00", "kind": "homepage", "missing": false, "url": "https://spectraljs.com/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 60, "longevity": 89, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1248, "days_push": 244, "days_rel": 495, "gap_med": null, "n_releases_24m": 1}, "score": 48, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}