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

Can the color look up tables generated by DaltonizeGenerator be added to the repository for use in non-Processing applications? #2

Open
RiteshSingh opened this issue Aug 4, 2022 · 4 comments

Comments

@RiteshSingh
Copy link

Hi Jim,

Thank you so much for your great work and detailed educative explanation on your website 🙏🏼🙏🏼

I was just wondering if the color lookup tables generated by DaltonizeGenerator can be added to the repository for use in non-Processing applications?

Thanks again for your efforts 🙏🏼🙏🏼

@hx2A
Copy link
Owner

hx2A commented Aug 4, 2022

Hi @RiteshSingh !

The color lookup tables are quite large and take up 4 bytes for each of the 2**24 possible colors. I wouldn't want to put something like that in a git repo.

There might be other approaches here. It happens I am also the maintainer of py5, a Python version of Processing. It is probably possible to use py5 to write Python code that can export the lookup tables and put them in a numpy array. Then the data can be saved and used for other purposes.

@RiteshSingh
Copy link
Author

Thank you for your most kind reply, Jim @hx2A.

Of course you are the best person to make a final decision, however, the look up tables are definitely more valuable for hundreds of applications other than Processing. It may even be said that they are hundreds of times more valuable.

I understand you want to keep this repository small. In that case, please do consider creating a separate repository for them.

Thanks again for all that you do 🙏🏼🙏🏼
Ritesh

@hx2A
Copy link
Owner

hx2A commented Aug 5, 2022

@RiteshSingh , I thought github imposed size limits on repos? Checking in large files, or multiple versions of large files, can fill up a repo very quickly, so I try to avoid checking in data files. But if I provide a script that can generate the data files, wouldn't that provide the same end result?

@RiteshSingh
Copy link
Author

Absolutely Jim @hx2A, an independent (non-Processing) script would also work splendidly.

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

2 participants