{"id":18020081,"url":"https://github.com/polygonjs/example-plugin-palette","last_synced_at":"2025-04-04T17:12:19.805Z","repository":{"id":109050711,"uuid":"333538308","full_name":"polygonjs/example-plugin-palette","owner":"polygonjs","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-25T18:50:40.000Z","size":14678,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T19:49:01.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polygonjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-27T19:34:38.000Z","updated_at":"2022-01-25T18:50:43.000Z","dependencies_parsed_at":"2023-03-17T04:45:18.819Z","dependency_job_id":null,"html_url":"https://github.com/polygonjs/example-plugin-palette","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"297b999e38a15b26091c990d6d4ffc0a3fef6cdd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-palette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-palette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-palette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-palette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polygonjs","download_url":"https://codeload.github.com/polygonjs/example-plugin-palette/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217222,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T05:13:28.997Z","updated_at":"2025-04-04T17:12:19.788Z","avatar_url":"https://github.com/polygonjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polygonjs Plugin Palette Example\n\nThis repository shows how to use the [Palette Plugin](https://github.com/polygonjs/plugin-palette) for the WebGL engine [Polygonjs](https://github.com/polygonjs/polygonjs).\n\n\n**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](https://polygonjs.com/docs/nodes/sop/palette)\n\n\nThis plugin adds a node `SOP/Palette` which adds colors from various palettes to the input points.\n\n![Spheres with colors defined with the Palette node](https://github.com/polygonjs/example-plugin-palette/blob/main/doc/palette_examples.jpg?raw=true)\n## Open the scene in the WebGL editor\n\n`yarn \u0026\u0026 yarn polygon`\n\nand open your browser at:\n\n`http://localhost:8091?scene=default`\n\nThis 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.\n\n![Palette plugin from Polygonjs node-based Editor](https://github.com/polygonjs/example-plugin-palette/blob/main/doc/palette_example_in_editor.jpg?raw=true)\n\n\u003cp\u003e\n  \u003cimg width=\"274\" src=\"https://github.com/polygonjs/example-plugin-palette/blob/main/doc/plugin-palette.001.gif?raw=true\" /\u003e\n\u003c/p\u003e\n\n## Open the export scene without the editor\n\n`yarn \u0026\u0026 yarn run snowpack dev`\n\nand open your browser at:\n\n`http://localhost:8080`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolygonjs%2Fexample-plugin-palette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolygonjs%2Fexample-plugin-palette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolygonjs%2Fexample-plugin-palette/lists"}