�0.7, 亮度0.6)
            ctx.fillStyle = `rgba(${r},${g},${b}, ${this.opacity})`;
            ctx.fill();
        }
    }

    function init() {
        width = layerElement.offsetWidth;
        height = layerElement.offsetHeight;
        canvas.width = width;
        canvas.height = height;
        ribbons.length = 0;
        for (let i = 0; i < numRibbons; i++) {
            ribbons.push(new Ribbon());
        }
        // 使用 'lighter' 或 'screen' 混合模式让彩带叠加时颜色混合更好
