let seed = Math.random() * 2000;
let colors1 = "362725-402C2F-2A1F26-3E2C40-302536"
let colors2 = "3171B8-3C7ABA-80CDEB-3171B8-3C7ABA"
let colors3 = "495359-1B291A-292722-495359-291A23"
createCanvas(1240, 1748);
let col1 = random(colors1);
let col2 = random(colors1);
var gradbg = drawingContext.createLinearGradient(0, 0, width, 0);
gradbg.addColorStop(0, col1);
gradbg.addColorStop(1, col2);
drawingContext.fillStyle = gradbg;
let col3 = random(colors2);
let col4 = random(colors2);
var grad = drawingContext.createLinearGradient(0, 0, width, 0);
grad.addColorStop(0, col3);
grad.addColorStop(1, col4);
drawingContext.fillStyle = grad;
drawingContext.shadowColor = color(0, 0, 0, 20);
drawingContext.shadowOffsetX = 20;
drawingContext.shadowOffsetY = 20;
drawingContext.shadowBlur = 100;
rect(0, 1748/3, 1240, 1748/3);
let col5 = random(colors3);
let col6 = random(colors3);
var grad = drawingContext.createLinearGradient(0, 0, width, 0);
grad.addColorStop(0, col5);
grad.addColorStop(1, col6);
drawingContext.fillStyle = grad;
drawingContext.shadowColor = color(255, 50, 10, 20);
drawingContext.shadowOffsetX = 20;
drawingContext.shadowOffsetY = 20;
drawingContext.shadowBlur = 100;
rect(0, 1748-(1748/3), 1240, 1748/3);
function mouseClicked() {
seed = Math.random() * 1000;
if (key === "s" || key === "S") {
saveCanvas("Rothkoy,No.61_1240x1748", "jpeg");