fluidkit
A framework-agnostic GPU fluid simulation library for the web using Stable Fluids on WebGL2, with pluggable render modes and React/Vue/Svelte adapters.
它实现了逼真的物理模拟贴纸撕开效果,包含深度感知阴影、内嵌音效,并作为框架无关的库可嵌入任意网页。
Sticker Forge turns text or uploaded image artwork into a tactile WebGL sticker. Grab the real die-cut edge, drag it inward, and the sticker curls to reveal a satin back surface with depth-aware shadowing.
The repository contains two deliverables:
app/;lib/.Node.js 22.13 or newer is required.
npm install
npm run dev
Build the hosted app and both reusable library bundles with:
npm run build
The reusable files are emitted to public/embed/:
sticker-forge.es.js — an ES module that auto-registers ``;sticker-forge.iife.js — a classic script exposing window.StickerForge;sticker-forge.d.ts — public TypeScript declarations.Pushes to main deploy a static export through the GitHub Pages workflow at
.github/workflows/deploy-pages.yml. Build the same artifact locally with:
npm run build:pages
The production Pages site uses https://sticker.oooo.so. Its DNS record is a
CNAME for the sticker subdomain pointing to catsjuice.github.io.
The provided peel sound is trimmed, converted to mono, lightly high-passed, and
inlined into both JavaScript bundles, so it does not need to be copied or hosted
as a separate asset. The untouched source recording remains in lib/assets/.
Copy both the ES bundle and this markup into any page. The bundle registers the
element automatically; the idempotent defineStickerForge() helper is also
exported and returns immediately (void).
await customElements.whenDefined("sticker-forge");
const sticker = document.querySelector("#sticker");
sticker.setOptions({
outline: { width: 18, color: "#ffffff" },
shadow: { opacity: 0.22, blur: 22, distance: 16, angle: 42 },
lighting: {
direction: { x: -0.38, y: 0.52, z: 0.76 },
intensity: 0.8,
ambient: 0.35,
softness: 0.6,
},
peel: {
radius: 0.12,
stiffness: 0.72,
maxAngle: 3.55,
release: "reset",
},
sound: { enabled: true, volume: 0.68 },
back: { color: "#f7f5f2", gloss: 0.7, roughness: 0.3 },
material: {
type: "holographic",
intensity: 0.86,
scale: 1,
},
tilt: -3,
});
// setSource() is async: the promise settles after the tex
A tactile WebGL sticker maker with rich text, image uploads, and interactive peel physics.
根据分类、Topic 和编程语言匹配的相似项目。
A framework-agnostic GPU fluid simulation library for the web using Stable Fluids on WebGL2, with pluggable render modes and React/Vue/Svelte adapters.
img2threejs reconstructs a 3D object from a single reference image as a procedural Three.js model using code-only, token-efficient, staged pipeline with quality gates, producing animation-ready Three.js groups.
OpenChatCut is an open-source, local-first AI video editor with a real multitrack timeline, conversational agents, and MCP support, enabling AI-assisted editing that remains fully editable.