video-to-ascii icon indicating copy to clipboard operation
video-to-ascii copied to clipboard

Why set up three character lists to represent density?

Open zhangluustb opened this issue 5 years ago • 3 comments

Why set up three character lists to represent density?And How to calculate density?

zhangluustb avatar Dec 06 '18 02:12 zhangluustb

The first two character lists are not used in the source code?

zhangluustb avatar Dec 06 '18 02:12 zhangluustb

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:

captura de pantalla 2018-12-06 a la s 06 06 19
Char Intensity Factor
. 0 .. 50
: 51 .. 101
~ 102 .. 152
+ 153 .. 203
@ 204 .. 255

joelibaceta avatar Dec 06 '18 09:12 joelibaceta

The three set of chars are used by three different render strategies.

strategies

joelibaceta avatar Dec 06 '18 09:12 joelibaceta