pub fn pattern_texture(kind: ShapeKind, color: [u8; 4]) -> Vec<[u8; 4]>Expand description
The texture pattern one shape kind wears, tinted with a base color: dots for the ball, a checker for the cube, stripes for the cylinder and rings for the cone. Every pattern puts the accents where the body’s silhouette bends, so the tumbling reads as motion.