Advanced Manga Prompt with Tempo Grammar and Wound Visibility
From Wikiprompt, the free prompt encyclopedia
Advanced Manga Prompt with Tempo Grammar and Wound Visibility A formal, Haskell-inspired prompt for generating manga pages with tempo-driven grammar, camera rules, and strict dialogue/wound withholding laws. Includes forbidden patterns and a render pipeline.
Prompt ContentSave
đ
data Tempo = Held | Stumble | Collapse
slowness :: Tempo -> Int; slowness Collapse=3; slowness Held=2; slowness Stumble=1 -- the ordering
type Wound = Text; type Line = Text; type Fact = Text
-- Pâ: the grammar is a TOTAL function of tempo (exhaustive â count/gutter/bleed can't be free)
data Grammar = G { count::Int, gutter::MM, bleed::PanelId, empty::PanelId, stall::PanelId, path::[PanelId] }
derive :: Tempo -> Grammar
derive t = let c = max 2 (kBase `div` slowness t); g = g0 * slowness t
ps = [1..c]; b = peak ps; e = after b ps; s = mid ps
in G c g b e s (rtlZ ps s) -- enter TR, exit BL, one stall
-- Pâ: camera height is a BICONDITIONAL of woundâvisibility (a function, not a vibe)
cam :: Panel -> WoundState -> CameraHeight
cam p w | surfaces p w = BelowEye
| otherwise = AtOrAbove
-- channels kept apart (RENDER: two grades; screentone=mood, hatch=volume)
type Tone = GLight | GDark | None -- mood; |{Tone}\{None}| †2
type Hatch = [Line] -- volume; never a screentone
-- Pâ as a LANGUAGE LAW over the page's dialogue stream:
-- DIALOGUE ::= balloon* balloon ::= word{1..11} (under twelve)
-- and wound â tokens(DIALOGUE) (never named)
-- and dialogue(bleed_panel) == Δ (strongest panel silent)
-- and ÂŹâ narration describing a face/emotion
withhold_law :: Wound -> Page -> Bool
withhold_law w pg =
w `notElem` tokens (dialogue pg)
&& dialogue pg (bleed pg) == []
&& all ((<12) . length . words) (all_balloons pg)
&& not (any describes_face (narration pg))
&& pearson (emotion_map pg) (wordcount_map pg) < 0 -- emotion & speech antiâcorrelated
forbidden :: [Regex] -- your negatives, verbatim
forbidden = [ /wound â dialogue/ , /dialogue\(bleed\) â Δ/ , /balloon words â„ 12/ ,
/narration describes face/ , /path = LTR/ , /text = horizontal/ ,
/tones_used â {GLight,GDark}/ , /wash|grey|colour|lens_fx/ ,
/low_angle â§ ÂŹwound_surfaces/ , /screentone on volume/ ]
render :: Genre -> Beat -> Wound -> Page
render g b w =
let (d,F,L,t) = infer g b w; gr = derive t -- Pâ derived, K_manga constant
pg = ink K_manga $ (layout (path gr) -- reading path FIRST, frozen
â place (stage w F L gr) -- emotion second
â render_channels) -- rendering third (Pâ
priority)
in assert (withhold_law w pg) && all (not . (=~ sig pg)) forbidden && monotone d pg $ pg
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with creative. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: creative Prompts
- Source: https://x.com/Gdgtify/status/2084387331205701841
Talk
0 comments