p5_terminal_graphics icon indicating copy to clipboard operation
p5_terminal_graphics copied to clipboard

Automaticly sort character set

Open clankill3r opened this issue 4 years ago • 0 comments

As described in the readme it is possible to change the character set:

P5_Terminal_Graphics.sequence = " /\\X";

But the characters have to be arranged in order of brightness. Having a lookup table like this:

int[] char_index_to_brightness = {...};

Could help with writing code that could sort a given character set so they user could provide the characters to be used in any order they wan't.

clankill3r avatar Jul 18 '20 21:07 clankill3r