Materializr
開源參數式 3D CAD 給創客 — 受限草圖、實體建模、螺紋、SVG 與文字雕刻、STL/STEP 匯出。Android、iPad、Linux、Mac、Windows。Vibe 編碼。
AI 翻譯
尚未偵測到更新。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).