@polygonjs/plugin-trace
v1.5.46
Published
Trace plugin for the 3D engine https://polygonjs.com
Downloads
5
Maintainers
Readme
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:
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);
}