尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗English | 日本語
A graphics tool that warps photos and objects and squeezes one into every blob of a camouflage pattern. From a distance it reads as camouflage; up close you see faces, people and cats.
https://ubiquitous-o.github.io/Anyflage/
The browser remembers the images you add and your settings. Background removal also runs in the browser. Images are never sent anywhere.
The interface is in Japanese and English. ⌘Z undoes. Hold B to see the image from before the last redraw.
npm install
npm run dev
npm run build writes to dist/. Pushing to main deploys to Pages through GitHub Actionsnpm run typecheck checks typesnpm run parity checks that the prototype engine and the TypeScript engine produce identical pixels. It only runs when the prototype (prototype/) and samples/ exist locally. Neither is in the repositorynpm run samples collects test images from public datasets into samples/. Their redistribution is restricted, so they are not committedsrc/engine/ — the engine. Builds the camouflage and squeezes images into the blobssrc/main.ts — the screen. Settings appear in the URL querysrc/cutout.ts, public/models/ — background removal. MediaPipe selfie segmentation and the small U²-Net (both Apache 2.0)src/i18n.ts — the English textpublic/swatches/ — patterns traced from real swatch images. Sources and licences are in public/swatches/index.jsonpublic/sets/sample/ — the sample set. CC0 portraits from the Art Institute of Chicago and The Metropolitan Museum of Art, cut out to the face and hair. Sources are in public/sets/sample.jsonscripts/collect-museum.ts, precut.html — tools for rebuilding the sample set. To cut out, start with ANYFLAGE_PRECUT=1 npm run dev and open /precut.html