video-to-ascii
video-to-ascii copied to clipboard
Why set up three character lists to represent density?
Why set up three character lists to represent density?And How to calculate density?
The first two character lists are not used in the source code?
In the readme I explain how I calculate the color intensity from rgb, according to this I assign a character from a range of values, por example If I have 5 characters:
Char | Intensity Factor |
---|---|
. | 0 .. 50 |
: | 51 .. 101 |
~ | 102 .. 152 |
+ | 153 .. 203 |
@ | 204 .. 255 |
The three set of chars are used by three different render strategies.