let colors=["#e2aa27","#ad372d","#8da497","#154c64","#283b43","#59874d","#2e7767","#904028"]
font= loadFont('FamiljenGrotesk-VariableFont_wght.ttf')
stamp= createGraphics(200, 200)
for(let i=0; i<1500; i++){
stamp.fill(255, random(30))
stampMTriangle(random(200), random(200), random(2, 40), random(2, 40), random(TAU))
stamp.triangle(0, 0, 0, 200, 100, 0)
stamp.triangle(200, 0, 200, 200, 100, 0)
center= createVector(random(150, 175), random(150, 250))
doubleTriangle(center.x, center.y, random(125, 200), random(125, 200), HALF_PI)
let a= random([HALF_PI, 0, PI])
for(let x=center.x; x<360-w; x+=w*0.75){
doubleTriangle(x, y, h, w, a)
a= random([HALF_PI, 0, PI])
let option2= center.x+center.x
let x=random([center.x, option2])
for(let i= center.y-w; i>60+(w*0.5); i-=w*0.75){
doubleTriangle(x, i, h, w, a)
for(let i=0; i<50; i+=7.5){
doubleTriangle(330, 330-i, 10, 10, -HALF_PI)
doubleTriangle(330-i, 330, 10, 10, 0)
let a= random([HALF_PI,0, PI])
for(let x=center.x; x<340-w; x+=w*0.75){
doubleTriangle(x, y, h, w, a)
a= random([HALF_PI, 0, PI])
let option2= width-center.x
let x=random([center.x, option2])
for(let i= center.y+w; i<360-(w*0.5); i+=w*0.75){
doubleTriangle(x, i, h, w, a)
for(let i=0; i<50; i+=7.5){
doubleTriangle(330, 70+i, 10, 10, -HALF_PI)
doubleTriangle(330-i, 70, 10, 10, PI)
center= createVector(random(225, 250), random(150, 250))
doubleTriangle(center.x, center.y, random(125, 200), random(125, 200), PI+HALF_PI)
let a= random([-HALF_PI, 0, PI])
for(let x=center.x; x>60+w; x-=w*0.75){
doubleTriangle(x, y, h, w, a)
a= random([HALF_PI, 0, PI, -HALF_PI])
let option2= width-center.x
let x=random([center.x, option2])
for(let i= center.y-w; i>60+(w*0.5); i-=w*0.75){
doubleTriangle(x, i, h, w, a)
for(let i=0; i<50; i+=7.5){
doubleTriangle(70, 330-i, 10, 10, HALF_PI)
doubleTriangle(70+i, 330, 10, 10, 0)
let a= random([-HALF_PI, 0, PI])
for(let x=center.x; x>60+w; x-=w*0.75){
doubleTriangle(x, y, h, w, a)
a= random([HALF_PI, 0, PI, -HALF_PI])
let option2= width-center.x
let x=random([center.x, option2])
for(let i= center.y+w; i<360-w; i+=w*0.75){
doubleTriangle(x, i, h, w, a)
for(let i=0; i<50; i+=7.5){
doubleTriangle(70, 70+i, 10, 10, HALF_PI)
doubleTriangle(70+i, 70, 10, 10, PI)
let a= random([PI, HALF_PI, 0, PI+HALF_PI])
let h= random(w*0.5, w*1.5)
doubleTriangle(random(70+w, 370-w), random(70+h, 370-h), w, h, a)
function doubleTriangle(x, y, w, h, a){
image(stamp, 0, -h*0.1, w, h)
function mTriangle(x, y, w, h, a){
triangle(-w*0.5, h*0.5, w*0.5, h*0.5, 0, -h*0.5)
function stampMTriangle(x, y, w, h, a){
stamp.triangle(-w*0.5, h*0.5, w*0.5, h*0.5, 0, -h*0.5)