Perceptually uniform colormap for SEAD NCA research (青竹蜂云)
Project description
sead-cmap
Perceptually uniform colormap for SEAD NCA research.
Name: 青竹蜂云 (qing-zhu-feng-yun) — dark teal to bright gold.
Designed in CAM02-UCS with arc-length resampling. CVD-safe, grayscale-monotonic.
Install
pip install sead-cmap
# For full perceptual interpolation:
pip install sead-cmap[full]
Python / matplotlib
from sead_cmap import cmap
import matplotlib.pyplot as plt
plt.imshow(data, cmap=cmap)
# or by name:
plt.imshow(data, cmap="sead")
JavaScript / Canvas
from sead_cmap import export_js
export_js("sead-cmap.js")
Then in JS:
import { seadRGB } from './sead-cmap.js';
const [r, g, b] = seadRGB(0.5); // value in [0, 1]
CSS
from sead_cmap import css_gradient
print(css_gradient())
# linear-gradient(to right, #0c1820, #143f45, #2a6e6e, #6f8050, #b89838, #dfca4f, #e0c850)
Brand colors
from sead_cmap import BRAND_PRIMARY, BRAND_DARK
# BRAND_PRIMARY = "#2a6e6e" (Ming Teal)
# BRAND_DARK = "#14444a"
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sead_cmap-0.1.0.tar.gz
(104.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sead_cmap-0.1.0.tar.gz.
File metadata
- Download URL: sead_cmap-0.1.0.tar.gz
- Upload date:
- Size: 104.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e4f1cb66017390f10713afa26c505608ab4aac9e0fcfa8c92b6ce099edcdccf
|
|
| MD5 |
3d430b76fb9a9af10849887c6312d0bf
|
|
| BLAKE2b-256 |
ac83db08f53fdb9d3817f46b2423a2e4cd7ac95e5f77d1a4b6f8ac6e4a7410b6
|
File details
Details for the file sead_cmap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sead_cmap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
229974d470e104b5bf20d0a507e0e1155684e6a201ace18c42377f18957c5967
|
|
| MD5 |
f18b9d6404b8d830c0a82bfd7e61edae
|
|
| BLAKE2b-256 |
526a22fd4b7f36124da0f624bda82b35615fe65142b479e5fabac27d42cb1f40
|