Gladly

A lightweight, GPU-accelerated plotting library with a declarative API.

Overview

Gladly combines WebGL rendering (via regl) with D3.js for interactive axes and zoom controls. It features a declarative API that lets you create high-performance plots with minimal boilerplate.

Key Features:

Extensions

Documentation

Technology Stack

Development

Install dependencies:

npm install

Run the test suite (launches a real Chromium browser via Playwright):

npm test

Tests live in test/. The pretest script pre-bundles CJS dependencies (regl, proj4) to ESM before the runner starts. On first run, Playwright downloads its Chromium binary automatically.

To run a subset of tests by name:

npm test -- --grep "uploadToTexture"

License

MIT