Outcurses: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
Why is it called 'outcurses'? Because there's [https://www.collinsdictionary.com/us/dictionary/english/outcurse more cursing], duh. | Why is it called 'outcurses'? Because there's [https://www.collinsdictionary.com/us/dictionary/english/outcurse more cursing], duh. | ||
==Palette fades= | ==Palette fades== | ||
Back when I was a young software witch, the first cool thing you did on a PC was switch to [https://en.wikipedia.org/wiki/Mode_13h mode 13h] and fade the 6 bits of its 3 color channels using some x86 assembly. The effect still fills me with joy. Now it's available to your text-mode programs! Specify a number of milliseconds through which you wish to fade, and a balanced, delay-adaptive fade will be executed across the palette. The default text color (colorpair -1 in ncurses semantics) is *not* faded. | Back when I was a young software witch, the first cool thing you did on a PC was switch to [https://en.wikipedia.org/wiki/Mode_13h mode 13h] and fade the 6 bits of its 3 color channels using some x86 assembly. The effect still fills me with joy. Now it's available to your text-mode programs! Specify a number of milliseconds through which you wish to fade, and a balanced, delay-adaptive fade will be executed across the palette. The default text color (colorpair -1 in ncurses semantics) is *not* faded. | ||