2 ms·
i used popcount for visual art purposes in http://canonical.org/~kragen/sw/dev3/trama.html http://canonical.org/~kragen/sw/dev3/trama.html, both because it's ex
by kragen 3y ago
i used popcount for visual art purposes in http://canonical.org/~kragen/sw/dev3/trama.html http://canonical.org/~kragen/sw/dev3/trama.html, both because it's extremely cheap to compute and i was interested in patterns that were extremely cheap to compute, and because it figures prominently in the simplest definition of the hadamard-walsh matrix: popcount(row bitand col) bitand 1, which in the stack language of that program is xy&
epilepsy warning, although the page doesn't flash much initially when loaded, it will probably flash a lot if you start playing with it