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

Reduce memory footprint #4

Open
darosh opened this issue Sep 3, 2019 · 0 comments
Open

Reduce memory footprint #4

darosh opened this issue Sep 3, 2019 · 0 comments

Comments

@darosh
Copy link

darosh commented Sep 3, 2019

Original library dropped the buggy RGB stuff and reduced samples to just:
const cubes: number = Math.pow(sides, 3); packed to 0b00YYhhll

https://github.com/darosh/colorgram-js/blob/4302c3d1e3116ecc70c2557533674322b5d95b82/src/colorgram.ts#L45

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