mesh-avatar-studio
Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Fast, dependency-free Rust color science: OKLCH palettes, WCAG + APCA contrast, color-blindness simulation, image palette extraction. Powers swatchly.xyz
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The color engine behind Swatchly, a free color palette generator. It is pure Rust with zero dependencies, and runs natively, in the browser through WebAssembly, and in Cloudflare Workers.
enhance function that fixes failing pairs by adjusting lightnesscolor-names dataset.[dependencies]
swatchly-color = "0.1"
use color_core::{Rgb, Palette};
use color_core::contrast::{ratio, verdict, apca};
use color_core::generate::{generate, Method};
use color_core::rng::Rng;
use color_core::spaces::to_oklch;
let navy = Rgb::from_hex("#1b264f").unwrap();
let cream = Rgb::from_hex("f4e9cd").unwrap();
// WCAG 2 and APCA contrast
let r = ratio(navy, cream); // 12.10
assert!(verdict(r).aaa_small);
let lc = apca(navy, cream); // Lc 88.6
// Generate a 5-color palette that keeps `navy` locked in the first slot
let slots = [Some(navy), None, None, None, None];
let colors = generate(&slots, Method::Analogous, &mut Rng::new(42));
let palette = Palette(colors);
println!("https://swatchly.xyz/generate/{}", palette.slug());
// Perceptual coordinates
let [l, c, h] = to_oklch(navy);
The library is imported as color_core. Run this example with cargo run --example readme.
MIT. The bundled color names come from meodai/color-names (MIT).