artCodestring="var throwAndStop=e=>{throw console.log(e),new Error(e)};"undefined"==typeof p5&&throwAndStop("You must include p5js v1.4.0; see this contract's 'artCodeDependencies()' method.");const sunflowerIsDefined="undefined"!=typeof Sunflower,tokenDataIsDefined="undefined"!=typeof tokenData;var Helper;sunflowerIsDefined?Helper={...Sunflower}:tokenDataIsDefined&&(Helper={seed:tokenData.hash}),Helper?.seed||throwAndStop("To run, call 'seedForToken(...)' on this contract to get the seed. Then prefix this js code with 'tokenData = {hash: <seed>}', where <seed> is the seed as a string starting with '0x...'."),THEMES=[{name:"Rainbow",colors:[[246,0,0],[255,140,0],[255,238,0],[77,233,76],[55,131,255],[72,21,170]]},{name:"Blue",colors:[[15,82,186],[0,128,255],[16,52,166],[17,30,108]]},{name:"Red",colors:[[141,2,31],[184,15,10],[255,40,0],[210,31,60]]},{name:"Green",colors:[[9,121,105],[175,225,175],[34,139,34],[124,252,0]]},{name:"Purple",colors:[[159,43,104],[191,64,191],[93,63,211],[207,159,255]]}],BACKGROUNDS=[{name:"Light",color:[255,255,255]},{name:"Dark",color:[0,0,0]}],BACKGROUND=null,THEME=null,BRANCH_COUNT=null,branches=[];class Branch{constructor(e,t,s,a,n,o,r){this.x=e,this.y=t,this.oldX=e,this.oldY=t,this.r=a,this.g=n,this.b=o,this.alpha=r,this.a=random(s-15,s+15),this.oa=this.a,this.as=random(1,10),this.l=this.a%45/3,this.sw=random(7,10)}drawBranch(){this.oldX=this.x,this.oldY=this.y,this.a=(this.a+1)%360,this.x+=this.l/2*cos(this.a*PI/180),this.y+=this.l/2*sin(this.a*PI/180),strokeWeight(this.sw),stroke(this.r,this.g,this.b,this.alpha),line(this.oldX,this.oldY,this.x,this.y)}}drawbranches=()=>{branches.forEach((e=>e.drawBranch()))},createBranches=e=>{for(var t=0;t<e;t++)branches.push(new Branch(width/2,height/2,random(0,360),...random(THEME.colors),random(0,255)))},setup=()=>{const e=Number(BigInt(Helper.seed)%BigInt("9007199254740991"));noiseSeed(e),randomSeed(e),createCanvas(windowWidth,windowHeight),background(50),THEME=random(THEMES),BACKGROUND=random(BACKGROUNDS),BRANCH_COUNT=8*floor(random(1,44)),Helper.setMetadata&&(Helper.setMetadata("Theme",THEME.name),Helper.setMetadata("Background",BACKGROUND.name),Helper.setMetadata("Branches",BRANCH_COUNT)),createBranches(BRANCH_COUNT)},windowResized=()=>{resizeCanvas(windowWidth,windowHeight)},draw=()=>{drawbranches(),background(...BACKGROUND.color,10)};"
artDescriptionstring=""BURST" is a collection of 8,888 generative and unique "BURST"s of vibrant colors stuck in a loop forever. From a variety of themes, backgrounds and branches, your "BURST" is guaranteed to be ONE - OF - A - KIND."
"BURST" is a collection of 8,888 generative and unique "BURST"s of vibrant colors stuck in a loop forever. From a variety of themes, backgrounds and branches, your "BURST" is guaranteed to be ONE - OF - A - KIND.