---
title: "Pts.js"
description: "TypeScript library for composing points, vectors, curves and interaction into visualizations rendered to canvas or SVG."
canonical: "https://vibing.inc/library/pts-js-vg-1711"
category: "Shaders, WebGL & Creative Coding"
subcategory: "Creative coding"
license: "Apache-2.0"
author: "William Ngan (@williamngan)"
source: "https://ptsjs.org/"
---

# Pts.js
TypeScript library for composing points, vectors, curves and interaction into visualizations rendered to canvas or SVG.
## Facts
- Source: https://ptsjs.org/
- Category: Shaders, WebGL & Creative Coding / Creative coding
- Author: William Ngan (@williamngan)
- Licence: Apache-2.0
- Tags: creative-coding, canvas, svg, geometry
## Why it's a gem
Geometry-first API that makes spatial thinking natural instead of imperative drawing calls.
---
Listed in The Vibeary: https://vibing.inc/library/pts-js-vg-1711 · JSON: https://vibing.inc/api/public/library/gems/pts-js-vg-1711