(function () {
var K = document.querySelector('canvas'),
- { random: R, PI, cos: C, sin: S, floor, atan2: A } = Math,
+ { random: R, PI, cos: C, sin: S, atan2: A } = Math,
id = p => p,
spn = rad => p => ({
x: p.x + rad * C(l),
draw = H[r(H.length)], pos = P[r(P.length)]
function r(x) {
- return floor(R() * x)
+ return ~~(R() * x)
}
function sqr(i) {