- shapes = [sqr, crc, hrt, chs, lch],
- positions = [id, spn(5), spn(15)],
- draw = shapes[rnd(shapes.length)],
- pos = positions[rnd(positions.length)];
+ SHP = [sqr, crc, hrt, chs, lch],
+ POS = [id, spn(5), spn(15)],
+ draw = SHP[r(SHP.length)],
+ pos = POS[r(POS.length)];