DEV Community

Cover image for Computing colors (Need tips)

Posted on • Updated on

Computing colors (Need tips)


We've lastly built a module for managing colors (at, it uses quite the same code in terms of architecture and style that the one of simd.js ! Awesome concept you can learn more about on intel website and hacks dot mozilla dot com...

Image description

Image description

So here we got our module:

AAAAND it is faaaast! Awesome...

Now, we manage mostly colors in a series of bits which are manipulated by typed array of unsigned integer of 8 bits, that makes 1 byte thanks captain obvious. ASM.js also does compiling code being more efficient exerting bits operation to variables to predict and force them to fit less space and more predictability in the JS VM...

For our module, how would you like to have the name of functions and so one... ?

Top comments (0)