 colors) {
                const d = radius * 2;
                const oc = document.createElement('canvas');
                oc.width = d; oc.height = d;
                const octx = oc.getContext('2d');
                const img = octx.createImageData(d, d);
                const data = img.data;
                const rgbs = colors.map(hexToRGB);
                for (let y = 0; y < d; y++) {
                    for (let x = 0; x < d; x++) {
                        const dx = x - radius, dy = y - radius;
 