# williamngan/pts

A library for visualization and creative-coding

Repository: https://github.com/williamngan/pts
Canonical: https://ross.abutalabs.com/products/pts
Homepage: https://ptsjs.org
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: typescript, visualization, graphics, creative-coding, linear-algebra, sound, art, design, graphic-design, vector, generative, pts, generative-art, canvas, svg
Last push: 2026-08-24T07:48:07+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3449, "days_push": 9, "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 5341, forks 182 (observed 2026-08-28T04:09:15.842596+00:00)

## What it is
Pts is a lightweight TypeScript/JavaScript library for visualization and creative coding, providing point/vector math, geometry, color, and animation algorithms with a friendly API. It renders across HTML canvas, SVG, and other formats and works standalone or alongside other libraries like TensorFlow.js.

## Use cases
- create generative art in the browser
- visualize data with canvas or svg
- build interactive pointer-following animations
- prototype creative coding sketches quickly
- do linear algebra and geometry with an easy API
- make sound-reactive visuals
- add animated graphics to a React app

## When to choose
- you want a lightweight, modular creative-coding library for canvas or SVG
- you need quick prototyping of visual or generative ideas in JavaScript
- you want approachable vector math and geometry helpers
- you want to combine visuals with other JS libraries like TensorFlow.js

## When to avoid
- you need a full data-charting library with axes, legends, and tooltips
- you need WebGL/3D rendering or GPU-accelerated graphics
- you need server-side or native desktop visualization
- you need a design-tool plugin or a complete animation framework

## Facets
- artifact type: library
- maturity: stable
- function: data-visualization, graphics, animation, math
- domain: graphics, data-visualization, web-development, frontend
- platform: browser
- tags: creative-coding, generative-art, canvas, svg, linear-algebra, typescript, nodejs, web-server

## Member repositories
- williamngan/pts (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.842596+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:58:49.984594+00:00, confidence not recorded.
  - readme: https://github.com/williamngan/pts (fetched 2026-08-28T04:09:15.842596+00:00, sha 1d2f73a42c1e)
  - homepage: https://ptsjs.org (fetched 2026-08-29T08:53:37.496155+00:00, sha 9d9d1afbae98)
  - site_page: https://ptsjs.org/docs (fetched 2026-08-29T08:53:37.498714+00:00, sha 8f8332d91553)
  - registry_npm: https://registry.npmjs.org/pts (fetched 2026-08-29T08:53:37.500926+00:00, sha ff2e95e710db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
