x: rand(100),
y: rand(100),
angle: Math.random() * 2 * Math.PI,
- color: Array(3).fill(null).map(() => rand(256))
+ color: Array(3).fill(rand(256))
}));
var shapes = [square, circle, heart, chaos, lineChaos];
var positions = [identity, spin(5), spin(15)];