paper-cinder-transition
यह क्या करती है
यह स्किल WebGL प्रभाव से दो पेजों या दृश्यों के बीच कागज़ जलने जैसा ट्रांज़िशन बनाती है। यह उन डिज़ाइनरों और डेवलपर्स के लिए है जिन्हें अनुभागों या अध्यायों के बीच नाटकीय, सिनेमाई बदलाव चाहिए।
कब इस्तेमाल करें
- ✓जब दो दृश्यों के बीच ऐसा बदलाव चाहिए जो जलते पन्ने जैसा लगे।
- ✓जब पेज बदलना साधारण फ़ेड की बजाय सिनेमाई लगना चाहिए।
- ✓जब ट्रांज़िशन एक जमे हुए फ़्रेम और एक लाइव दृश्य पर एक ही दृश्य प्रभाव हो।
Skill का लिंक
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/paper-cinder-transition/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे दो अध्याय वाले पेजों के बीच का बदलाव ऐसा बनाइए कि कागज़ जलकर गायब होता लगे, किनारे पर अंगारे की चमक के साथ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक पूरी स्क्रीन वाला पास बनाता है, जो हर पिक्सल तय करता है कि वह पुराने पेज, जलती रेखा या नए दृश्य का है। जमे हुए फ़्रेम, झुलसे किनारे और चमक की परतें ऊपर जोड़ी जाती हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Paper Cinder Transition
A page does not fade into the next one, it is eaten by a line of fire. Reach for
fire-paper-loader when the burn is a ring on a loading screen that must survive a
blocked main thread; reach for this when the burn is the change between two scenes
you own. For text that is written in by a mask rather than burned, use masked-reveal;
for a scroll-scrubbed sequence with no burn, scroll-scrubbed-visual-sequence.
The mechanism
One full-screen pass decides, per pixel, whether it belongs to the frozen old frame (ahead of the line), to the burning zone (the line), or to the live new scene (behind it), from a single signed distance to a noisy front. Everything else is staging. Remove any of the three layers and it stops reading as fire: no frozen frame and the old page keeps moving under the flame, no live scene and the reveal is a still, no pixel-true distance and the edge is a soft blotch.
xc = signed distance to the front in CSS px (+ ahead, - burnt)
reveal = clamp(0.5 - xc/aa, 0, 1) // new frame from the front back, cut to the pixel
col = mix(fromFrozen, toLive, reveal)
col = mix(col, charcoal, bed * pores) // 26 px band of torn, porous char (alpha-masked)
col += flame(xc) + charGlow(xc) // additive: thread, ember zone, tight glow
Staging split
| goes in the skill | staging (yours to change) |
|---|---|
| the composite order, the distance field, the ember ramp, char rules, the noise bake | what the two scenes are, palette of the scenes, typography, page copy |
| the two scene buffers (frozen from, live to) and the scissor | which side the line enters from (see below) |
| timing, easing, DPR, reduced-motion still | control chrome |
Rules, each tied to the failure it prevents
Draw the frozen old frame and the live new scene, never one fading into the other. Snapshot the outgoing scene once into a full-resolution target when the transition starts (clock frozen) and keep rendering the incoming scene live. A cross-fade, or a burn over a still-animating old scene, shows two chapters in one patch of screen and the fire stops being the thing that changes the page.
Measure the front in pixels, not in field units. xc = (field - T)/grad * pxHeight / pxScale.
A level set alone runs a hair-thin seam wherever the noise leans with the sweep and a fat
one where it leans against it, so the flame's width is uneven for no reason.
Take the slope by finite differences a few px apart, never dFdx of the baked texture.
The baked noise's slope is constant across each texel; per pixel it stripes the band
across the line. Sample the broad field at +4 px in x and y (hStep = 4*uPxS/uPxH) and
clamp the gradient to 0.35/aspect .. 3/aspect.
The ember zone is a smooth luminous gradient, not steps. Symptom: it reads as a non-realistic poster. Grade it continuously by a heat variable: yellow at the front, then orange, then deep red at a crisp torn lip. Hot stretches carry yellow further back. Ramp constants (linear, before tone map):
| stop | rgb | where |
|---|---|---|
| deep | 0.34, 0.022, 0.003 |
lip, tau 0.05 |
| orange | 0.86, 0.20, 0.024 |
tau 0.42 |
| gold | 1.02, 0.38, 0.055 |
tau 0.76 |
| hot gold | 1.10, 0.64, 0.17 x (0.30 + 0.70*hot) |
tau above 0.86 |
| thread | 1.40, 0.56, 0.09 to 1.85, 1.02, 0.30 by heat |
the front line |
| glow | 0.95, 0.20, 0.022 x 0.60 |
2 to 5 px round the thread |
Keep hot colours gold, never cream. A pale yellow reads cream at full heat and khaki when dimmed. Nothing on the ramp is grey or white; a dim stretch goes down the ramp, it is not just darker.
The front is a bright thread that beads and pinches, 0.7 to 5 px, not an even stroke.
An even stroke reads as neon. Width (0.9 + 2.6*heat) * bead with bead 0.5 to 1.5 from
a noise along the edge. Give it a tight glow only (exp(-|xc+0.5wc| / (2 + 2.8*heat))), no wide halo.
It must visibly move, at rest of the sweep too. Symptom: "too stale/static". Drive heat
with pulses that run along the edge in both directions (sA*0.018 - t*1.30,
sA*0.027 + t*1.70), flicker at t*7, a roll back through the zone at -t*2.6, drifting
beads (-t*0.8), and licking tongues on the front (t*1.1, t*2.8, at most 0.022 and 0.010
of the screen). Stills hide all of this, so judge the burn in a real-time held clip.
Alpha-mask the black char; it is not a flat slab. The char is a band 26 px wide (plus 12 px of front slack) that crumbles
अक्सर पूछे जाने वाले सवाल
यह कौन सी तकनीक इस्तेमाल करती है?
यह WebGL कंपोज़िट पास इस्तेमाल करती है, इसलिए पेज को WebGL समर्थन चाहिए।
क्या यह लोडिंग स्क्रीन के लिए है?
स्किल कहती है कि लोडिंग रिंग के लिए दूसरी स्किल बेहतर है। यह आपके नियंत्रित दृश्यों के बीच बदलाव के लिए है।
क्या टेक्स्ट भी इसी तरह खुल सकता है?
नहीं। मास्क से लिखे जाने वाले टेक्स्ट के लिए स्किल एक अलग मास्क्ड रिवील तरीके की ओर इशारा करती है।
जानकारी
लेखक का मूल विवरण
Change between pages, chapters or scenes with a paper-burn transition, a ragged ember line that sweeps across the frame, chars the old page ahead of it and reveals the next scene live behind it, written as one WebGL composite pass over a frozen frame and a scissored live scene. Covers the front's silhouette, the luminous ember gradient with a beading gold thread, torn porous charcoal that is alpha-masked, baked noise, finite-difference slopes, the 0.75-scale live scene, sweep direction, timing, reduced motion and visibility pausing. Use for a burn transition, paper burn, cinder wipe, chapter c
repo: MengTo/Skills
लोकप्रियता
- GitHub स्टार
- 7.2k
- रैंकिंग में स्थान
- #13456
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
3d-cloth-material
7.2kआपके एजेंट को Three.js में असली बुने हुए कपड़े जैसा दिखने वाला मटीरियल बनाने में मदद करती है, जिसमें धागों की बुनाई, हल्की चमक, प्राकृतिक सिलवटें, किनारे और सीवन हों।
3d-falling-leaves
7.2kआपके एजेंट को 3D दृश्य में असली लगने वाली गिरती पत्तियाँ जोड़ने देती है, जो लुढ़कती हैं, हवा के साथ बहती हैं और कैमरा हिलने पर दोबारा इस्तेमाल होती हैं।
3d-four-seasons
7.2kआपके एजेंट को 3D दृश्य में वसंत, गर्मी, शरद और सर्दी के रूप जोड़ने देती है, जिसमें हरियाली, रोशनी, आसमान और बर्फ़ बिना दृश्य दोबारा बनाए बदलते हैं।
3d-high-poly-models
7.2kआपके एजेंट को चिकने आकार और विश्वसनीय किनारों वाले विस्तृत 3D मॉडल बनाने देती है, और फिर वेब पर अच्छे चलने वाले हल्के संस्करण तैयार करती है।
मिलती-जुलती skills
blender-motion-state-inspection
280kयह 3D animations की बारीक details देखने देता है। poses, movements और character alignment जाँचने के लिए यह उपयोगी है।
manim-video
280kआपके एजेंट को animated explainer videos बनाने देता है। यह तकनीकी विषयों के लिए साफ़ graphs और diagrams बनाने के लिए Manim का इस्तेमाल करता है।
remotion-video-creation
280kआपके एजेंट को Remotion लाइब्रेरी के साथ React में वीडियो बनाने का तरीका बताता है। इसमें animations, audio, captions और दूसरे विज़ुअल एलिमेंट्स के बेस्ट प्रैक्टिस शामिल हैं।