williamngan/pts

A library for visualization and creative-coding

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 17 minutes ago
Added to GitGenius on September 12th, 2026
Created on March 24th, 2017
Open Issues & Pull Requests: 52 (+0)
GitHub issues: Enabled
Number of forks: 182
Total Stargazers: 5,343 (+0)
Total Subscribers: 64 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Pts is a TypeScript and JavaScript library for visualization and creative coding.

The library addresses the need to build interactive visual and generative art projects by providing abstractions for geometric operations, vector mathematics, and rendering to canvas and SVG. It offers a foundation of mathematical primitives and spatial operations that creative developers can compose into animations, generative designs, and interactive visualizations without building these fundamentals from scratch.

Pts suits developers working on canvas-based creative projects, generative art, data visualization, or interactive design experiences. The library is available both as a browser script through CDN and as an npm package with ESM-first distribution and CommonJS compatibility. Starter projects and framework integrations exist for React and Vue, making it accessible whether you are building standalone sketches or embedding visualizations within larger applications.

The project maintains a rigorous development process with comprehensive validation across formatting, linting, type checking, unit tests, documentation generation, and bundle behavior verified in real browsers. Documentation is generated deterministically from source and checked in alongside guides and machine-readable formats for agent access. The build environment targets recent Node releases with integration testing across maintained versions, and the packed package is exercised against React, Vue, skia-canvas, and vanilla JavaScript fixtures to ensure compatibility across common integration patterns.