Skip to content

polygonjs/example-plugin-palette

Repository files navigation

Polygonjs Plugin Palette Example

This repository shows how to use the Palette Plugin for the WebGL engine Polygonjs.

Note that the plugin has now been moved into the core of Polygonjs, so there is no need to install the plugin as it is always available. See Documentation

This plugin adds a node SOP/Palette which adds colors from various palettes to the input points.

Spheres with colors defined with the Palette node

Open the scene in the WebGL editor

yarn && yarn polygon

and open your browser at:

http://localhost:8091?scene=default

This will open the scene saved in this repo. It is a simple scene with a few instanced spheres, whose color is set via the SOP/Palette node.

Palette plugin from Polygonjs node-based Editor

Open the export scene without the editor

yarn && yarn run snowpack dev

and open your browser at:

http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published