Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automaticly sort character set #1

Open
clankill3r opened this issue Jul 18, 2020 · 0 comments
Open

Automaticly sort character set #1

clankill3r opened this issue Jul 18, 2020 · 0 comments

Comments

@clankill3r
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant