How to integrate jscolor with playcanvas?

JSColor also sets up events on document load to initialize. So either you have to add the library to load before/after engine so it’s included in the document before it finishes loading.

Or manually call jscolor.init() at runtime.

Example: https://playcanvas.com/editor/scene/1096298

2 Likes