Package 'trigd'

Title: Three-Layer Graphics Device
Description: A graphics device that records R plotting operations and streams them as JSON over a Unix domain socket to an external renderer. The device acts as a pure recorder with no rendering dependencies -- all rendering occurs in the client (e.g. a browser or any NDJSON-capable frontend).
Authors: Grant McDermott [aut, cre]
Maintainer: Grant McDermott <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1
Built: 2026-05-19 09:09:37 UTC
Source: https://github.com/eitsupi/trigd

Help Index


JSON Graphics Device

Description

Opens a graphics device that streams plot operations as JSON to an external renderer (e.g. a browser client) over a Unix domain socket.

Usage

trigd(width = 8, height = 6, dpi = 96)

Arguments

width

Device width in inches (default 8).

height

Device height in inches (default 6).

dpi

Resolution in dots per inch (default 96).

Value

Invisible NULL. The device is opened as a side effect.