Progress on transitions
Done:
- Scroll (LR, RL, TB, BT)
- Reveal (LR, TB)
- Fade
- Typewriter
- Scale (Horz, Vert, Both)
- Random Tiles
Maybe:
- Incandescent Fade (white -> yellow -> red -> black)
- Melt (see below)
- Rotation (combined with Scale)
Incandescent Fade in RGB: x = m_fTransProgress * 3; R = x; G = x - 1; B = x - 2; Hiccups between regions, unconvincing, try HLS instead?
Melt varies the weight of the text by first filling it with the draw color, and then stroking it with the background color. The wider the stroke, the narrower the remaining filled text is. This requires writing a custom text renderer derived from IDWriteTextRenderer. Here's a MS article about that: link The effect would probably only work well with Bold or Black fonts, and it might be challenging to normalize it to the transition progress.
Comments
Post a Comment