You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

jp.keijiro.pugrad

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

jp.keijiro.pugrad

Perceptually uniform colormap generator as an importer


Version published
Maintainers
1
Created

Readme

Source

Pugrad

photo

Pugrad is a color gradient generator for Unity that supports commonly-used perceptually uniform colormaps.

At the moment, Pugrad supports the following colormaps:

  • Matplotlib colormaps (Viridis, Plasma, Magma, Inferno)
  • Turbo
  • HSLuv (repeatable)

screenshot

How To Install

This package uses the scoped registry feature to resolve package dependencies. Please add the following sections to the manifest file (Packages/manifest.json).

To the scopedRegistries section:

{
  "name": "Keijiro",
  "url": "https://registry.npmjs.com",
  "scopes": [ "jp.keijiro" ]
}

To the dependencies section:

"jp.keijiro.pugrad": "1.0.0"

After changes, the manifest file should look like below:

{
  "scopedRegistries": [
    {
      "name": "Keijiro",
      "url": "https://registry.npmjs.com",
      "scopes": [ "jp.keijiro" ]
    }
  ],
  "dependencies": {
    "jp.keijiro.pugrad": "1.0.0",
...

How To Use

To cerate a colormap, select Assets -> Create -> Pugrad. It creates a .pugrad file that generates a Texture2D asset procedurally.

inspector

You can change the resolution of the texture on the inspector. You can also change the lightness of the gradient when using the HSLuv colormap.

Keywords

FAQs

Package last updated on 25 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc