1.0.12 • Published 3 years ago

@polygonjs/plugin-palette v1.0.12

Weekly downloads
36
License
MIT
Repository
github
Last release
3 years ago

Polygonjs Palette Plugin

This adds a Palette SOP node to the Polygonjs webgl engine.

This wraps the work done in https://github.com/kgolid/chromotome into a node that can be used with all the other nodes available on Polygonjs.

See example scene:

Spheres with colors defined with the Palette node

Install

Import the plugin:

yarn add @polygonjs/plugin-palette

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

import {polyPluginPalette} from '@polygonjs/plugin-palette/dist/src/index';

export function configurePolygonjs(poly) {
	poly.registerPlugin(polyPluginPalette);
}
1.0.12

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago