@polygonjs/plugin-trace
TypeScript icon, indicating that this package has built-in type declarations

1.5.46 • Public • Published

Polygonjs Trace Plugin

This adds 1 node to trace images to lines in the Polygonjs webgl engine.

  • Sop/Trace: converts an image to lines

See example scene:

scene with trace

Install

Import the plugin:

yarn add @polygonjs/plugin-trace

And register the plugin in the function configurePolygonjs in the file PolyConfig.js so that the node can be accessible in both the editor and your exported scene:

import {polyPluginTrace} from '@polygonjs/plugin-trace';

export function configurePolygonjs(poly) {
	poly.registerPlugin(polyPluginTrace);
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.460latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.460
1.5.450
1.3.80
1.1.2570
1.1.2180

Package Sidebar

Install

npm i @polygonjs/plugin-trace

Weekly Downloads

0

Version

1.5.46

License

MIT

Unpacked Size

948 kB

Total Files

11

Last publish

Collaborators

  • polygonjs