4 ms·
Very nice blog post, thank you for sharing! I spotted a small error in the Finally, Colors. section: const color = floor(random() * palette.length); ...sho
by whilenot-dev 3y ago
Very nice blog post, thank you for sharing!
I spotted a small error in the Finally, Colors. section:
const color = floor(random() * palette.length);
...should probably be
const paletteIdx = floor(random() * palette.length);
const color = palette[paletteIdx];
- tehrash 3y agoah, of course! thanks for reading and noticing. It's been updated.