ericdrowell/KineticJS — pull request #319 by cthoma46 (2013-03-17 04:48:17+00:00)
Title: _getRandomColor should use floor, not round

With .round the function returns 0 and 255 with a 50% smaller
probability than ony of the numbers from 1 to 254. Instead, [0, 1) from
Math.random * 256 becomes [0, 256) then floored becomes 0, 1, ... 255
uniformly distributed.