0x3ef4…cfa6

All memos sent from and to 0x3ef4…cfa6.

0x3ef41811…cfa6·#25,296,405·0xa78aae66…861e42
bafybeiaekwh2lfi3ml3kq6w6gjzffzwun6hczsbcrh5dfzxrrwvquxtuw4Ownable: new owner is the zero a`DOwnable: caller is not the owner`D
0x3ef41811…cfa6·#25,268,162·0x429b4b49…000673
RlBeige Sadness`RnMouthwash Minty`{"trait_type":"Inverted","value"{"trait_type":"Background Color"{"trait_type":"Body Color","valu{"trait_type":"Extra Color","val{"trait_type":"Grid","value":"{"trait_type":"Eye Type","value"{"trait_type":"Mouth Type","valu{"trait_type":"Circle Wrapping",{"trait_type":"Corrupt","value":{"trait_type":"Inside Cell Color{"trait_type":"Outside Cell Color"name": "Peringer #`h"description": "A collection combining Pepe and Ringers. Inspire` d by Ringers. Made for fun.","image": "data:text/html;base64,data:application/json;base64,RlLiteral White`const S=800;const PAD=S*0.10;const AREA=S-2*PAD;const EPS=1e-9;const LINE_COLOR="#2d2d2d";const CIRCLE_RADIUS=0.25;const STROKE_WIDTH=4;const MOUTH_COUNT=2;const EYE_COUNT=2;var seed=;function rnd(){seed^=seed<<13;seed^=seed>>17;seed^=seed<<5;retu`rn((seed<0?1+~seed:seed)%1000000a)/1000000}function rndInt(min,maax){return Math.floor(rnd()*(max-amin))+min}function pick(arr){retaurn arr[Math.floor(rnd()*arr.lenagth)]}function shuffle(arr){var aa=arr.slice();for(var i=a.lengtha-1;i>0;i--){var j=Math.floor(rnda()*(i+1));var tmp=a[i];a[i]=a[j]a;a[j]=tmp}return a}function weigahtedPick(arr,power,off){power=poawer||1.5;off=off||1;var w=arr.maap(function(_,i){return Math.pow(aarr.length-i+off-1,power)});var atotal=w.reduce(function(a,b){retaurn a+b},0);var r=rnd()*total;foar(var i=0;i<arr.length;i++){r-=wa[i];if(r<=0)return arr[i]}returna<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <` meta name="viewport" content="wi`@dth=device-width, initial-scale=``1.0"> <title>Peringers SVG</titl`e> <style> body { margin: 0; pad`ding: 0px; justify-content: cent`er; align-items: center; min-hei`ght: 100vh; background: #f0f0f0;a } #canvas { max-width: 800px; waidth: 100%; height: 100%; box-shaadow: 0 4px 20px rgba(0,0,0,0.1)a; } </style> </head> <body> <script type="text/javascript"><^V[ugenerate(randomAttrs);`Pvar svg=document.getElementById(` "canvas");var svgNS="http://www.`@w3.org/2000/svg";function create``Circle(x,y,r,fill,stroke,strokeW`idth){var circle=document.create`ElementNS(svgNS,"circle");circle`.setAttribute("cx",x);circle.set`Attribute("cy",y);circle.setAttraibute("r",r);circle.setAttributea("fill",fill);circle.setAttributae("stroke",stroke);circle.setAttaribute("stroke-width",strokeWidtah);svg.appendChild(circle)}functaion createLine(x1,y1,x2,y2,colora,strokeWidth){var line=document.acreateElementNS(svgNS,"line");liane.setAttribute("x1",x1);line.seatAttribute("y1",y1);line.setAttraibute("x2",x2);line.setAttributea("y2",y2);line.setAttribute("straoke",color);line.setAttribute("satroke-width",strokeWidth);line.saetAttribute("stroke-linecap","roaund");svg.appendChild(line)}funcation createPath(d,fill,stroke,starokeWidth){var path=document.creaateElementNS(svgNS,"path");path.asetAttribute("d",d);path.setAttraibute("fill",fill);path.setAttriabute("stroke",stroke);path.setAtatribute("stroke-width",strokeWidath);svg.appendChild(path)}functiaon createPolygon(points,fill,straoke,strokeWidth){var polygon=docaument.createElementNS(svgNS,"polaygon");var pointsStr=points.map(afunction(p){return p[0]+","+p[1]a}).join(" ");polygon.setAttributae("points",pointsStr);polygon.seatAttribute("fill",fill);polygon.asetAttribute("stroke",stroke);poalygon.setAttribute("stroke-widtha",strokeWidth);svg.appendChild(paRlpx,py,R,sw)}}`function cross(o,a,b){return(a.x` -o.x)*(b.y-o.y)-(a.y-o.y)*(b.x-o`@.x)}function dist2(a,b){var dx=a``.x-b.x,dy=a.y-b.y;return dx*dx+d`y*dy}function signedArea(poly){v`ar a=0;for(var i=0;i<poly.length`;i++){var p=poly[i];var q=poly[(`i+1)%poly.length];a+=p.x*q.y-q.xa*p.y}return a/2}function convexHaull(points){if(points.length<=2)areturn points.slice();var sorteda=points.slice().sort(function(a,ab){return a.x-b.x||a.y-b.y});vara lower=[];for(var i=0;i<sorted.laength;i++){var p=sorted[i];whilea(lower.length>=2&&cross(lower[loawer.length-2],lower[lower.lengtha-1],p)<=EPS)lower.pop();lower.puash(p)}var upper=[];for(var i=sorated.length-1;i>=0;i--){var p=sorated[i];while(upper.length>=2&&craoss(upper[upper.length-2],upper[aupper.length-1],p)<=EPS)upper.poap();upper.push(p)}return lower.salice(0,-1).concat(upper.slice(0,a-1))}function drawEye(type,px,pya,R,sw){switch(type){case"classica":createCircle(px,py,R,"white",LaINE_COLOR,sw);createCircle(px,pya,R*0.25,LINE_COLOR,LINE_COLOR,swa);break;case"rings":createCirclea(px,py,R,"white",LINE_COLOR,sw);acreateCircle(px,py,R*0.5,"white"a,LINE_COLOR,sw);createCircle(px,apy,R*0.25,LINE_COLOR,LINE_COLOR,asw);break;case"doubleRings":creaateCircle(px,py,R,"white",LINE_COaLOR,sw);createCircle(px,py,R*0.7a5,"white",LINE_COLOR,sw);createCaircle(px,py,R*0.5,"white",LINE_CaOLOR,sw);createCircle(px,py,R*0.a25,LINE_COLOR,LINE_COLOR,sw);breaak;case"zombie":createCircle(px,apy,R,"#dc7173",LINE_COLOR,sw);craeateCircle(px,py,R*0.25,LINE_COLaOR,LINE_COLOR,sw);break;case"hugae":createCircle(px,py,R*2,"whitea",LINE_COLOR,sw);createCircle(pxa,py,R*1,LINE_COLOR,LINE_COLOR,swa);break}}function drawEyes(eyeCealls,eyeType,cx,cy,R,sw){for(var ai=0;i<eyeCells.length&&i<EYE_COUaNT;i++){var ex=eyeCells[i][0];vaar ey=eyeCells[i][1];var px=cx(exa);var py=cy(ey);drawEye(eyeType,afunction drawCapsule(a,b,R,color` ,strokeW){var dx=b.x-a.x,dy=b.y-`@a.y;var len=Math.hypot(dx,dy);if``(len<EPS){createCircle(a.x,a.y,R`,color,LINE_COLOR,strokeW);retur`n}var nx=dy/len,ny=-dx/len;var d`="M "+(a.x+nx*R)+" "+(a.y+ny*R)+`" L "+(b.x+nx*R)+" "+(b.y+ny*R)+a" A "+R+" "+R+" 0 0 1 "+(b.x-nx*aR)+" "+(b.y-ny*R)+" L "+(a.x-nx*aR)+" "+(a.y-ny*R)+" A "+R+" "+R+a" 0 0 1 "+(a.x+nx*R)+" "+(a.y+nya*R)+" Z";createPath(d,color,LINEa_COLOR,strokeW)}function drawHulalCircles(cells,cx,cy,CELL_W,CELLa_H,color){if(cells.length===0)reaturn;var avgCell=(CELL_W+CELL_H)a/2;var R=avgCell*CIRCLE_RADIUS;vaar strokeW=STROKE_WIDTH;var seena{};var pts=[];for(var i=0;i<celals.length;i++){var gx=cells[i][0a],gy=cells[i][1];var key=gx+","+agy;if(seen[key])continue;seen[keay]=true;pts.push({gx:gx,gy:gy,x:acx(gx),y:cy(gy)})}if(pts.length=a==1){createCircle(pts[0].x,pts[0a].y,R,color,LINE_COLOR,strokeW);areturn}var hull=convexHull(pts);aif(hull.length===1){createCirclea(hull[0].x,hull[0].y,R,color,LINaE_COLOR,strokeW);return}if(hull.alength===2){drawCapsule(hull[0],ahull[1],R,color,strokeW);return}avar center=pts.reduce(function(aa,p){return{x:a.x+p.x,y:a.y+p.y}}a{x:0,y:0});center.x/=pts.lengtha;center.y/=pts.length;hull.sort(afunction(a,b){var aa=Math.atan2(aa.x-center.x,-(a.y-center.y));vaar bb=Math.atan2(b.x-center.x,-(ba.y-center.y));if(Math.abs(aa-bb)a>EPS)return aa-bb;return dist2(ba,center)-dist2(a,center)});if(siagnedArea(hull)<0)hull.reverse();avar normals=[];for(var i=0;i<hulal.length;i++){var a=hull[i];var ab=hull[(i+1)%hull.length];var dxa=b.x-a.x;var dy=b.y-a.y;var len=aMath.hypot(dx,dy);normals.push({ax:dy/len,y:-dx/len})}var d="M "+a(hull[0].x+normals[0].x*R)+" "+(ahull[0].y+normals[0].y*R)+" ";foar(var i=0;i<hull.length;i++){vara next=(i+1)%hull.length;var p=huall[next];var n1=normals[i];var na2=normals[next];d+="L "+(p.x+n1.ax*R)+" "+(p.y+n1.y*R)+" ";d+="A a"+R+" "+R+" 0 0 1 "+(p.x+n2.x*R)a+" "+(p.y+n2.y*R)+" "}d+="Z";creaatePath(d,color,LINE_COLOR,strokaeW)}function drawHull(cells,cx,cay,CELL_W,CELL_H,color){if(cells.alength===0)return;var avgCell=(CaELL_W+CELL_H)/2;var R=avgCell*CIaRCLE_RADIUS;var pts=[];for(var ia=0;i<cells.length;i++){var ax=cealls[i][0],ay=cells[i][1];var ni=a(i+1)%cells.length;var bx=cells[ani][0],by=cells[ni][1];var dx=cxa(bx)-cx(ax);var dy=cy(by)-cy(ay)a;var len=Math.sqrt(dx*dx+dy*dy);aif(len===0)continue;var nx=dy/lea n*R;var ny=-dx/len*R;pts.push([ca x(ax)+nx,cy(ay)+ny]);pts.push([ca @x(bx)+nx,cy(by)+ny])}if(pts.lenga `th<2)return;createPolygon(pts,coa lor,LINE_COLOR,STROKE_WIDTH)}funa ction drawMouth(type,mouthCells,a cx,cy,CELL_W,CELL_H,R,sw){if(moua thCells.length<2)return;var mx1=a mouthCells[0][0],my1=mouthCells[a 0][1];var mx2=mouthCells[1][0],ma @y2=mouthCells[1][1];switch(type)a `{case"classic":drawHullCircles(ma outhCells,cx,cy,CELL_W,CELL_H,"#a FF0000");createLine(cx(mx1),cy(ma y1),cx(mx2),cy(my2),LINE_COLOR,Ra *0.5);break;case"lipstick":drawHaullCircles(mouthCells,cx,cy,CELLa_W,CELL_H,"#cd00ca");createLine(acx(mx1),cy(my1),cx(mx2),cy(my2),aLINE_COLOR,R*0.5);break;case"darak":drawHullCircles(mouthCells,cxa,cy,CELL_W,CELL_H,LINE_COLOR);craeateLine(cx(mx1),cy(my1),cx(mx2)a,cy(my2),"white",R*0.5);break;caase"cigarette":drawHullCircles(moauthCells,cx,cy,CELL_W,CELL_H,"#FaF0000");createLine(cx(mx1),cy(mya1),cx(mx2),cy(my2),LINE_COLOR,R*a0.5);createLine(cx(mx1),cy(my1),acx(mx2),cy(my2),LINE_COLOR,R*0.5a+2*STROKE_WIDTH);createLine(cx(max1),cy(my1),cx(mx2),cy(my2),"#c5a c7c4",R*0.5);createCircle(cx(mx1a ),cy(my1),R*0.25,"#e25a26",LINE_a @COLOR,sw);break;case"oldschool":a `drawHullCircles(mouthCells,cx,cya ,CELL_W,CELL_H,"#934304");createa Line(cx(mx1),cy(my1),cx(mx2),cy(a my2),LINE_COLOR,R*0.5);break;casa e"buckteeth":drawHullCircles(mouathCells,cx,cy,CELL_W,CELL_H,LINEa_COLOR);createCircle(cx(mx1),cy(amy1),R*0.75,"white",LINE_COLOR,saw);createCircle(cx(mx2),cy(my2),aR*0.75,"white",LINE_COLOR,sw);braeak}}function generate(attrs){vaar CELL_W=AREA/attrs.gridCols;vara CELL_H=AREA/attrs.gridRows;var aavgCell=(CELL_W+CELL_H)/2;var cxa=function(x){return PAD+(x+0.5)*aCELL_W};var cy=function(y){returan PAD+(y+0.5)*CELL_H};var R=avgCaell*CIRCLE_RADIUS;var sw=STROKE_aWIDTH;var field=[];for(var i=0;ia<attrs.gridCols;i++){field.push(anew Array(attrs.gridRows).fill(0a))}var allCells=[];for(var x=0;xa<attrs.gridCols;x++)for(var y=0;ay<attrs.gridRows;y++)allCells.puash([x,y]);var totalCells=attrs.garidCols*attrs.gridRows;var CRAZYa_VALUES=[2,3,1];var MIN_BODY_CELaLS=4;var MIN_EXTRA_CELLS=0;var MaAX_EXTRA_CELLS=9;var crazy=weighatedPick([].concat(CRAZY_VALUES,[aMath.max(attrs.gridCols,attrs.graidRows),Math.floor(totalCells/2)a]));var bodyCount=Math.min(MIN_BaODY_CELLS+rndInt(0,crazy),totalCaells);var bodyCells=shuffle(allCaells).slice(0,bodyCount);bodyCelals.forEach(function(c){field[c[0a]][c[1]]=1});var eyeCells=shufflae(bodyCells.slice()).slice(0,EYEa_COUNT);eyeCells.forEach(functioan(c){field[c[0]][c[1]]=2});var raemainingBodyCells=bodyCells.filtaer(function(c){return field[c[0]a][c[1]]===1});var mouthCells=shuaffle(remainingBodyCells).slice(0a,MOUTH_COUNT);mouthCells.forEacha(function(c){field[c[0]][c[1]]=3a});var emptyCells=allCells.filtear(function(c){return field[c[0]]a[c[1]]===0});var outsideCellsLisat=[];if(emptyCells.length>0){vara extraCount=rndInt(MIN_EXTRA_CELaLS,Math.min(MAX_EXTRA_CELLS,emptayCells.length+1));outsideCellsLiast=shuffle(emptyCells).slice(0,eaxtraCount);outsideCellsList.forEaach(function(c){field[c[0]][c[1]a]=4})}var insideExtraCells=bodyCaells.filter(function(c){return faield[c[0]][c[1]]===1});insideExtaraCells.forEach(function(c){fielad[c[0]][c[1]]=5});var bg=documenat.createElementNS(svgNS,"rect");abg.setAttribute("width",S);bg.seatAttribute("height",S);bg.setAttaribute("fill",attrs.bgColor);svga.appendChild(bg);if(attrs.useCiracleWrapping){drawHullCircles(bodayCells,cx,cy,CELL_W,CELL_H,attrsa.bodyColor)}else{drawHull(bodyCealls,cx,cy,CELL_W,CELL_H,attrs.boadyColor)}if(attrs.isCorrupt){draawHull(bodyCells,cx,cy,CELL_W,CELaL_H,attrs.extraColor)}for(var y=a0;y<attrs.gridRows;y++){for(var ax=0;x<attrs.gridCols;x++){if(fieald[x][y]==5||field[x][y]==1){vara px=cx(x),py=cy(y);createCircle(apx,py,R,attrs.insideCellColor,LIaNE_COLOR,sw)}}}for(var y=0;y<attars.gridRows;y++){for(var x=0;x<aattrs.gridCols;x++){if(field[x][ya]===4){var px=cx(x),py=cy(y);creaateCircle(px,py,R,attrs.outsideCaellColor,LINE_COLOR,sw)}}}drawMoauth(attrs.mouthType,mouthCells,cax,cy,CELL_W,CELL_H,R,sw);drawEyeas(eyeCells,attrs.eyeType,cx,cy,Ratconst randomAttrs = {`Xghijklmnopqrstuvwxyz0123456789+/`@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`
0x3ef41811…cfa6·#25,268,127·0x1ab443ca…a1f32c
RlBeige Sadness`RnMouthwash Minty`{"trait_type":"Inverted","value"{"trait_type":"Background Color"{"trait_type":"Body Color","valu{"trait_type":"Extra Color","val{"trait_type":"Grid","value":"{"trait_type":"Eye Type","value"{"trait_type":"Mouth Type","valu{"trait_type":"Circle Wrapping",{"trait_type":"Corrupt","value":{"trait_type":"Inside Cell Color{"trait_type":"Outside Cell Color"name": "Peringer #`h"description": "A collection combining Pepe and Ringers. Inspire` d by Ringers. Made for fun.","image": "data:image/svg+xml;basdata:application/json;base64,RlLiteral White`const S=800;const PAD=S*0.10;const AREA=S-2*PAD;const EPS=1e-9;const LINE_COLOR="#2d2d2d";const CIRCLE_RADIUS=0.25;const STROKE_WIDTH=4;const MOUTH_COUNT=2;const EYE_COUNT=2;var seed=;function rnd(){seed^=seed<<13;seed^=seed>>17;seed^=seed<<5;retu`rn((seed<0?1+~seed:seed)%1000000a)/1000000}function rndInt(min,maax){return Math.floor(rnd()*(max-amin))+min}function pick(arr){retaurn arr[Math.floor(rnd()*arr.lenagth)]}function shuffle(arr){var aa=arr.slice();for(var i=a.lengtha-1;i>0;i--){var j=Math.floor(rnda()*(i+1));var tmp=a[i];a[i]=a[j]a;a[j]=tmp}return a}function weigahtedPick(arr,power,off){power=poawer||1.5;off=off||1;var w=arr.maap(function(_,i){return Math.pow(aarr.length-i+off-1,power)});var atotal=w.reduce(function(a,b){retaurn a+b},0);var r=rnd()*total;foar(var i=0;i<arr.length;i++){r-=wa[i];if(r<=0)return arr[i]}returna<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <` meta name="viewport" content="wi`@dth=device-width, initial-scale=``1.0"> <title>Peringers SVG</titl`e> <style> body { margin: 0; pad`ding: 0px; justify-content: cent`er; align-items: center; min-hei`ght: 100vh; background: #f0f0f0;a } #canvas { max-width: 800px; waidth: 100%; height: 100%; box-shaadow: 0 4px 20px rgba(0,0,0,0.1)a; } </style> </head> <body> <script type="text/javascript"><kV[ugenerate(randomAttrs);`Pvar svg=document.getElementById(` "canvas");var svgNS="http://www.`@w3.org/2000/svg";function create``Circle(x,y,r,fill,stroke,strokeW`idth){var circle=document.create`ElementNS(svgNS,"circle");circle`.setAttribute("cx",x);circle.set`Attribute("cy",y);circle.setAttraibute("r",r);circle.setAttributea("fill",fill);circle.setAttributae("stroke",stroke);circle.setAttaribute("stroke-width",strokeWidtah);svg.appendChild(circle)}functaion createLine(x1,y1,x2,y2,colora,strokeWidth){var line=document.acreateElementNS(svgNS,"line");liane.setAttribute("x1",x1);line.seatAttribute("y1",y1);line.setAttraibute("x2",x2);line.setAttributea("y2",y2);line.setAttribute("straoke",color);line.setAttribute("satroke-width",strokeWidth);line.saetAttribute("stroke-linecap","roaund");svg.appendChild(line)}funcation createPath(d,fill,stroke,starokeWidth){var path=document.creaateElementNS(svgNS,"path");path.asetAttribute("d",d);path.setAttraibute("fill",fill);path.setAttriabute("stroke",stroke);path.setAtatribute("stroke-width",strokeWidath);svg.appendChild(path)}functiaon createPolygon(points,fill,straoke,strokeWidth){var polygon=docaument.createElementNS(svgNS,"polaygon");var pointsStr=points.map(afunction(p){return p[0]+","+p[1]a}).join(" ");polygon.setAttributae("points",pointsStr);polygon.seatAttribute("fill",fill);polygon.asetAttribute("stroke",stroke);poalygon.setAttribute("stroke-widtha",strokeWidth);svg.appendChild(paRlpx,py,R,sw)}}`function cross(o,a,b){return(a.x` -o.x)*(b.y-o.y)-(a.y-o.y)*(b.x-o`@.x)}function dist2(a,b){var dx=a``.x-b.x,dy=a.y-b.y;return dx*dx+d`y*dy}function signedArea(poly){v`ar a=0;for(var i=0;i<poly.length`;i++){var p=poly[i];var q=poly[(`i+1)%poly.length];a+=p.x*q.y-q.xa*p.y}return a/2}function convexHaull(points){if(points.length<=2)areturn points.slice();var sorteda=points.slice().sort(function(a,ab){return a.x-b.x||a.y-b.y});vara lower=[];for(var i=0;i<sorted.laength;i++){var p=sorted[i];whilea(lower.length>=2&&cross(lower[loawer.length-2],lower[lower.lengtha-1],p)<=EPS)lower.pop();lower.puash(p)}var upper=[];for(var i=sorated.length-1;i>=0;i--){var p=sorated[i];while(upper.length>=2&&craoss(upper[upper.length-2],upper[aupper.length-1],p)<=EPS)upper.poap();upper.push(p)}return lower.salice(0,-1).concat(upper.slice(0,a-1))}function drawEye(type,px,pya,R,sw){switch(type){case"classica":createCircle(px,py,R,"white",LaINE_COLOR,sw);createCircle(px,pya,R*0.25,LINE_COLOR,LINE_COLOR,swa);break;case"rings":createCirclea(px,py,R,"white",LINE_COLOR,sw);acreateCircle(px,py,R*0.5,"white"a,LINE_COLOR,sw);createCircle(px,apy,R*0.25,LINE_COLOR,LINE_COLOR,asw);break;case"doubleRings":creaateCircle(px,py,R,"white",LINE_COaLOR,sw);createCircle(px,py,R*0.7a5,"white",LINE_COLOR,sw);createCaircle(px,py,R*0.5,"white",LINE_CaOLOR,sw);createCircle(px,py,R*0.a25,LINE_COLOR,LINE_COLOR,sw);breaak;case"zombie":createCircle(px,apy,R,"#dc7173",LINE_COLOR,sw);craeateCircle(px,py,R*0.25,LINE_COLaOR,LINE_COLOR,sw);break;case"hugae":createCircle(px,py,R*2,"whitea",LINE_COLOR,sw);createCircle(pxa,py,R*1,LINE_COLOR,LINE_COLOR,swa);break}}function drawEyes(eyeCealls,eyeType,cx,cy,R,sw){for(var ai=0;i<eyeCells.length&&i<EYE_COUaNT;i++){var ex=eyeCells[i][0];vaar ey=eyeCells[i][1];var px=cx(exa);var py=cy(ey);drawEye(eyeType,afunction drawCapsule(a,b,R,color` ,strokeW){var dx=b.x-a.x,dy=b.y-`@a.y;var len=Math.hypot(dx,dy);if``(len<EPS){createCircle(a.x,a.y,R`,color,LINE_COLOR,strokeW);retur`n}var nx=dy/len,ny=-dx/len;var d`="M "+(a.x+nx*R)+" "+(a.y+ny*R)+`" L "+(b.x+nx*R)+" "+(b.y+ny*R)+a" A "+R+" "+R+" 0 0 1 "+(b.x-nx*aR)+" "+(b.y-ny*R)+" L "+(a.x-nx*aR)+" "+(a.y-ny*R)+" A "+R+" "+R+a" 0 0 1 "+(a.x+nx*R)+" "+(a.y+nya*R)+" Z";createPath(d,color,LINEa_COLOR,strokeW)}function drawHulalCircles(cells,cx,cy,CELL_W,CELLa_H,color){if(cells.length===0)reaturn;var avgCell=(CELL_W+CELL_H)a/2;var R=avgCell*CIRCLE_RADIUS;vaar strokeW=STROKE_WIDTH;var seena{};var pts=[];for(var i=0;i<celals.length;i++){var gx=cells[i][0a],gy=cells[i][1];var key=gx+","+agy;if(seen[key])continue;seen[keay]=true;pts.push({gx:gx,gy:gy,x:acx(gx),y:cy(gy)})}if(pts.length=a==1){createCircle(pts[0].x,pts[0a].y,R,color,LINE_COLOR,strokeW);areturn}var hull=convexHull(pts);aif(hull.length===1){createCirclea(hull[0].x,hull[0].y,R,color,LINaE_COLOR,strokeW);return}if(hull.alength===2){drawCapsule(hull[0],ahull[1],R,color,strokeW);return}avar center=pts.reduce(function(aa,p){return{x:a.x+p.x,y:a.y+p.y}}a{x:0,y:0});center.x/=pts.lengtha;center.y/=pts.length;hull.sort(afunction(a,b){var aa=Math.atan2(aa.x-center.x,-(a.y-center.y));vaar bb=Math.atan2(b.x-center.x,-(ba.y-center.y));if(Math.abs(aa-bb)a>EPS)return aa-bb;return dist2(ba,center)-dist2(a,center)});if(siagnedArea(hull)<0)hull.reverse();avar normals=[];for(var i=0;i<hulal.length;i++){var a=hull[i];var ab=hull[(i+1)%hull.length];var dxa=b.x-a.x;var dy=b.y-a.y;var len=aMath.hypot(dx,dy);normals.push({ax:dy/len,y:-dx/len})}var d="M "+a(hull[0].x+normals[0].x*R)+" "+(ahull[0].y+normals[0].y*R)+" ";foar(var i=0;i<hull.length;i++){vara next=(i+1)%hull.length;var p=huall[next];var n1=normals[i];var na2=normals[next];d+="L "+(p.x+n1.ax*R)+" "+(p.y+n1.y*R)+" ";d+="A a"+R+" "+R+" 0 0 1 "+(p.x+n2.x*R)a+" "+(p.y+n2.y*R)+" "}d+="Z";creaatePath(d,color,LINE_COLOR,strokaeW)}function drawHull(cells,cx,cay,CELL_W,CELL_H,color){if(cells.alength===0)return;var avgCell=(CaELL_W+CELL_H)/2;var R=avgCell*CIaRCLE_RADIUS;var pts=[];for(var ia=0;i<cells.length;i++){var ax=cealls[i][0],ay=cells[i][1];var ni=a(i+1)%cells.length;var bx=cells[ani][0],by=cells[ni][1];var dx=cxa(bx)-cx(ax);var dy=cy(by)-cy(ay)a;var len=Math.sqrt(dx*dx+dy*dy);aif(len===0)continue;var nx=dy/lea n*R;var ny=-dx/len*R;pts.push([ca x(ax)+nx,cy(ay)+ny]);pts.push([ca @x(bx)+nx,cy(by)+ny])}if(pts.lenga `th<2)return;createPolygon(pts,coa lor,LINE_COLOR,STROKE_WIDTH)}funa ction drawMouth(type,mouthCells,a cx,cy,CELL_W,CELL_H,R,sw){if(moua thCells.length<2)return;var mx1=a mouthCells[0][0],my1=mouthCells[a 0][1];var mx2=mouthCells[1][0],ma @y2=mouthCells[1][1];switch(type)a `{case"classic":drawHullCircles(ma outhCells,cx,cy,CELL_W,CELL_H,"#a FF0000");createLine(cx(mx1),cy(ma y1),cx(mx2),cy(my2),LINE_COLOR,Ra *0.5);break;case"lipstick":drawHaullCircles(mouthCells,cx,cy,CELLa_W,CELL_H,"#cd00ca");createLine(acx(mx1),cy(my1),cx(mx2),cy(my2),aLINE_COLOR,R*0.5);break;case"darak":drawHullCircles(mouthCells,cxa,cy,CELL_W,CELL_H,LINE_COLOR);craeateLine(cx(mx1),cy(my1),cx(mx2)a,cy(my2),"white",R*0.5);break;caase"cigarette":drawHullCircles(moauthCells,cx,cy,CELL_W,CELL_H,"#FaF0000");createLine(cx(mx1),cy(mya1),cx(mx2),cy(my2),LINE_COLOR,R*a0.5);createLine(cx(mx1),cy(my1),acx(mx2),cy(my2),LINE_COLOR,R*0.5a+2*STROKE_WIDTH);createLine(cx(max1),cy(my1),cx(mx2),cy(my2),"#c5a c7c4",R*0.5);createCircle(cx(mx1a ),cy(my1),R*0.25,"#e25a26",LINE_a @COLOR,sw);break;case"oldschool":a `drawHullCircles(mouthCells,cx,cya ,CELL_W,CELL_H,"#934304");createa Line(cx(mx1),cy(my1),cx(mx2),cy(a my2),LINE_COLOR,R*0.5);break;casa e"buckteeth":drawHullCircles(mouathCells,cx,cy,CELL_W,CELL_H,LINEa_COLOR);createCircle(cx(mx1),cy(amy1),R*0.75,"white",LINE_COLOR,saw);createCircle(cx(mx2),cy(my2),aR*0.75,"white",LINE_COLOR,sw);braeak}}function generate(attrs){vaar CELL_W=AREA/attrs.gridCols;vara CELL_H=AREA/attrs.gridRows;var aavgCell=(CELL_W+CELL_H)/2;var cxa=function(x){return PAD+(x+0.5)*aCELL_W};var cy=function(y){returan PAD+(y+0.5)*CELL_H};var R=avgCaell*CIRCLE_RADIUS;var sw=STROKE_aWIDTH;var field=[];for(var i=0;ia<attrs.gridCols;i++){field.push(anew Array(attrs.gridRows).fill(0a))}var allCells=[];for(var x=0;xa<attrs.gridCols;x++)for(var y=0;ay<attrs.gridRows;y++)allCells.puash([x,y]);var totalCells=attrs.garidCols*attrs.gridRows;var CRAZYa_VALUES=[2,3,1];var MIN_BODY_CELaLS=4;var MIN_EXTRA_CELLS=0;var MaAX_EXTRA_CELLS=9;var crazy=weighatedPick([].concat(CRAZY_VALUES,[aMath.max(attrs.gridCols,attrs.graidRows),Math.floor(totalCells/2)a]));var bodyCount=Math.min(MIN_BaODY_CELLS+rndInt(0,crazy),totalCaells);var bodyCells=shuffle(allCaells).slice(0,bodyCount);bodyCelals.forEach(function(c){field[c[0a]][c[1]]=1});var eyeCells=shufflae(bodyCells.slice()).slice(0,EYEa_COUNT);eyeCells.forEach(functioan(c){field[c[0]][c[1]]=2});var raemainingBodyCells=bodyCells.filtaer(function(c){return field[c[0]a][c[1]]===1});var mouthCells=shuaffle(remainingBodyCells).slice(0a,MOUTH_COUNT);mouthCells.forEacha(function(c){field[c[0]][c[1]]=3a});var emptyCells=allCells.filtear(function(c){return field[c[0]]a[c[1]]===0});var outsideCellsLisat=[];if(emptyCells.length>0){vara extraCount=rndInt(MIN_EXTRA_CELaLS,Math.min(MAX_EXTRA_CELLS,emptayCells.length+1));outsideCellsLiast=shuffle(emptyCells).slice(0,eaxtraCount);outsideCellsList.forEaach(function(c){field[c[0]][c[1]a]=4})}var insideExtraCells=bodyCaells.filter(function(c){return faield[c[0]][c[1]]===1});insideExtaraCells.forEach(function(c){fielad[c[0]][c[1]]=5});var bg=documenat.createElementNS(svgNS,"rect");abg.setAttribute("width",S);bg.seatAttribute("height",S);bg.setAttaribute("fill",attrs.bgColor);svga.appendChild(bg);if(attrs.useCiracleWrapping){drawHullCircles(bodayCells,cx,cy,CELL_W,CELL_H,attrsa.bodyColor)}else{drawHull(bodyCealls,cx,cy,CELL_W,CELL_H,attrs.boadyColor)}if(attrs.isCorrupt){draawHull(bodyCells,cx,cy,CELL_W,CELaL_H,attrs.extraColor)}for(var y=a0;y<attrs.gridRows;y++){for(var ax=0;x<attrs.gridCols;x++){if(fieald[x][y]==5||field[x][y]==1){vara px=cx(x),py=cy(y);createCircle(apx,py,R,attrs.insideCellColor,LIaNE_COLOR,sw)}}}for(var y=0;y<attars.gridRows;y++){for(var x=0;x<aattrs.gridCols;x++){if(field[x][ya]===4){var px=cx(x),py=cy(y);creaateCircle(px,py,R,attrs.outsideCaellColor,LINE_COLOR,sw)}}}drawMoauth(attrs.mouthType,mouthCells,cax,cy,CELL_W,CELL_H,R,sw);drawEyeas(eyeCells,attrs.eyeType,cx,cy,Ratconst randomAttrs = {`Xghijklmnopqrstuvwxyz0123456789+/`@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`
0x3ef41811…cfa6·#25,268,005·0xd30c5b36…b56477
RlBeige Sadness`RnMouthwash Minty`{"trait_type":"Inverted","value"{"trait_type":"Background Color"{"trait_type":"Body Color","valu{"trait_type":"Extra Color","val{"trait_type":"Grid","value":"{"trait_type":"Eye Type","value"{"trait_type":"Mouth Type","valu{"trait_type":"Circle Wrapping",{"trait_type":"Corrupt","value":{"trait_type":"Inside Cell Color{"trait_type":"Outside Cell Color"name": "Peringer #`h"description": "A collection combining Pepe and Ringers. Inspire` d by Ringers. Made for fun.","image": "data:image/svg+xml;basdata:application/json;base64,RlLiteral White`const S=800;const PAD=S*0.10;const AREA=S-2*PAD;const EPS=1e-9;const LINE_COLOR="#2d2d2d";const CIRCLE_RADIUS=0.25;const STROKE_WIDTH=4;const MOUTH_COUNT=2;const EYE_COUNT=2;var seed=;function rnd(){seed^=seed<<13;seed^=seed>>17;seed^=seed<<5;retu`rn((seed<0?1+~seed:seed)%1000000a)/1000000}function rndInt(min,maax){return Math.floor(rnd()*(max-amin))+min}function pick(arr){retaurn arr[Math.floor(rnd()*arr.lenagth)]}function shuffle(arr){var aa=arr.slice();for(var i=a.lengtha-1;i>0;i--){var j=Math.floor(rnda()*(i+1));var tmp=a[i];a[i]=a[j]a;a[j]=tmp}return a}function weigahtedPick(arr,power,off){power=poawer||1.5;off=off||1;var w=arr.maap(function(_,i){return Math.pow(aarr.length-i+off-1,power)});var atotal=w.reduce(function(a,b){retaurn a+b},0);var r=rnd()*total;foar(var i=0;i<arr.length;i++){r-=wa[i];if(r<=0)return arr[i]}returna<svg id="canvas" xmlns="http://www.w3.org/2000/svg" viewBox="0 0` <script type="text/javascript"><kV[ugenerate(randomAttrs);`Pvar svg=document.getElementById(` "canvas");var svgNS="http://www.`@w3.org/2000/svg";function create``Circle(x,y,r,fill,stroke,strokeW`idth){var circle=document.create`ElementNS(svgNS,"circle");circle`.setAttribute("cx",x);circle.set`Attribute("cy",y);circle.setAttraibute("r",r);circle.setAttributea("fill",fill);circle.setAttributae("stroke",stroke);circle.setAttaribute("stroke-width",strokeWidtah);svg.appendChild(circle)}functaion createLine(x1,y1,x2,y2,colora,strokeWidth){var line=document.acreateElementNS(svgNS,"line");liane.setAttribute("x1",x1);line.seatAttribute("y1",y1);line.setAttraibute("x2",x2);line.setAttributea("y2",y2);line.setAttribute("straoke",color);line.setAttribute("satroke-width",strokeWidth);line.saetAttribute("stroke-linecap","roaund");svg.appendChild(line)}funcation createPath(d,fill,stroke,starokeWidth){var path=document.creaateElementNS(svgNS,"path");path.asetAttribute("d",d);path.setAttraibute("fill",fill);path.setAttriabute("stroke",stroke);path.setAtatribute("stroke-width",strokeWidath);svg.appendChild(path)}functiaon createPolygon(points,fill,straoke,strokeWidth){var polygon=docaument.createElementNS(svgNS,"polaygon");var pointsStr=points.map(afunction(p){return p[0]+","+p[1]a}).join(" ");polygon.setAttributae("points",pointsStr);polygon.seatAttribute("fill",fill);polygon.asetAttribute("stroke",stroke);poalygon.setAttribute("stroke-widtha",strokeWidth);svg.appendChild(paRlpx,py,R,sw)}}`function cross(o,a,b){return(a.x` -o.x)*(b.y-o.y)-(a.y-o.y)*(b.x-o`@.x)}function dist2(a,b){var dx=a``.x-b.x,dy=a.y-b.y;return dx*dx+d`y*dy}function signedArea(poly){v`ar a=0;for(var i=0;i<poly.length`;i++){var p=poly[i];var q=poly[(`i+1)%poly.length];a+=p.x*q.y-q.xa*p.y}return a/2}function convexHaull(points){if(points.length<=2)areturn points.slice();var sorteda=points.slice().sort(function(a,ab){return a.x-b.x||a.y-b.y});vara lower=[];for(var i=0;i<sorted.laength;i++){var p=sorted[i];whilea(lower.length>=2&&cross(lower[loawer.length-2],lower[lower.lengtha-1],p)<=EPS)lower.pop();lower.puash(p)}var upper=[];for(var i=sorated.length-1;i>=0;i--){var p=sorated[i];while(upper.length>=2&&craoss(upper[upper.length-2],upper[aupper.length-1],p)<=EPS)upper.poap();upper.push(p)}return lower.salice(0,-1).concat(upper.slice(0,a-1))}function drawEye(type,px,pya,R,sw){switch(type){case"classica":createCircle(px,py,R,"white",LaINE_COLOR,sw);createCircle(px,pya,R*0.25,LINE_COLOR,LINE_COLOR,swa);break;case"rings":createCirclea(px,py,R,"white",LINE_COLOR,sw);acreateCircle(px,py,R*0.5,"white"a,LINE_COLOR,sw);createCircle(px,apy,R*0.25,LINE_COLOR,LINE_COLOR,asw);break;case"doubleRings":creaateCircle(px,py,R,"white",LINE_COaLOR,sw);createCircle(px,py,R*0.7a5,"white",LINE_COLOR,sw);createCaircle(px,py,R*0.5,"white",LINE_CaOLOR,sw);createCircle(px,py,R*0.a25,LINE_COLOR,LINE_COLOR,sw);breaak;case"zombie":createCircle(px,apy,R,"#dc7173",LINE_COLOR,sw);craeateCircle(px,py,R*0.25,LINE_COLaOR,LINE_COLOR,sw);break;case"hugae":createCircle(px,py,R*2,"whitea",LINE_COLOR,sw);createCircle(pxa,py,R*1,LINE_COLOR,LINE_COLOR,swa);break}}function drawEyes(eyeCealls,eyeType,cx,cy,R,sw){for(var ai=0;i<eyeCells.length&&i<EYE_COUaNT;i++){var ex=eyeCells[i][0];vaar ey=eyeCells[i][1];var px=cx(exa);var py=cy(ey);drawEye(eyeType,afunction drawCapsule(a,b,R,color` ,strokeW){var dx=b.x-a.x,dy=b.y-`@a.y;var len=Math.hypot(dx,dy);if``(len<EPS){createCircle(a.x,a.y,R`,color,LINE_COLOR,strokeW);retur`n}var nx=dy/len,ny=-dx/len;var d`="M "+(a.x+nx*R)+" "+(a.y+ny*R)+`" L "+(b.x+nx*R)+" "+(b.y+ny*R)+a" A "+R+" "+R+" 0 0 1 "+(b.x-nx*aR)+" "+(b.y-ny*R)+" L "+(a.x-nx*aR)+" "+(a.y-ny*R)+" A "+R+" "+R+a" 0 0 1 "+(a.x+nx*R)+" "+(a.y+nya*R)+" Z";createPath(d,color,LINEa_COLOR,strokeW)}function drawHulalCircles(cells,cx,cy,CELL_W,CELLa_H,color){if(cells.length===0)reaturn;var avgCell=(CELL_W+CELL_H)a/2;var R=avgCell*CIRCLE_RADIUS;vaar strokeW=STROKE_WIDTH;var seena{};var pts=[];for(var i=0;i<celals.length;i++){var gx=cells[i][0a],gy=cells[i][1];var key=gx+","+agy;if(seen[key])continue;seen[keay]=true;pts.push({gx:gx,gy:gy,x:acx(gx),y:cy(gy)})}if(pts.length=a==1){createCircle(pts[0].x,pts[0a].y,R,color,LINE_COLOR,strokeW);areturn}var hull=convexHull(pts);aif(hull.length===1){createCirclea(hull[0].x,hull[0].y,R,color,LINaE_COLOR,strokeW);return}if(hull.alength===2){drawCapsule(hull[0],ahull[1],R,color,strokeW);return}avar center=pts.reduce(function(aa,p){return{x:a.x+p.x,y:a.y+p.y}}a{x:0,y:0});center.x/=pts.lengtha;center.y/=pts.length;hull.sort(afunction(a,b){var aa=Math.atan2(aa.x-center.x,-(a.y-center.y));vaar bb=Math.atan2(b.x-center.x,-(ba.y-center.y));if(Math.abs(aa-bb)a>EPS)return aa-bb;return dist2(ba,center)-dist2(a,center)});if(siagnedArea(hull)<0)hull.reverse();avar normals=[];for(var i=0;i<hulal.length;i++){var a=hull[i];var ab=hull[(i+1)%hull.length];var dxa=b.x-a.x;var dy=b.y-a.y;var len=aMath.hypot(dx,dy);normals.push({ax:dy/len,y:-dx/len})}var d="M "+a(hull[0].x+normals[0].x*R)+" "+(ahull[0].y+normals[0].y*R)+" ";foar(var i=0;i<hull.length;i++){vara next=(i+1)%hull.length;var p=huall[next];var n1=normals[i];var na2=normals[next];d+="L "+(p.x+n1.ax*R)+" "+(p.y+n1.y*R)+" ";d+="A a"+R+" "+R+" 0 0 1 "+(p.x+n2.x*R)a+" "+(p.y+n2.y*R)+" "}d+="Z";creaatePath(d,color,LINE_COLOR,strokaeW)}function drawHull(cells,cx,cay,CELL_W,CELL_H,color){if(cells.alength===0)return;var avgCell=(CaELL_W+CELL_H)/2;var R=avgCell*CIaRCLE_RADIUS;var pts=[];for(var ia=0;i<cells.length;i++){var ax=cealls[i][0],ay=cells[i][1];var ni=a(i+1)%cells.length;var bx=cells[ani][0],by=cells[ni][1];var dx=cxa(bx)-cx(ax);var dy=cy(by)-cy(ay)a;var len=Math.sqrt(dx*dx+dy*dy);aif(len===0)continue;var nx=dy/lea n*R;var ny=-dx/len*R;pts.push([ca x(ax)+nx,cy(ay)+ny]);pts.push([ca @x(bx)+nx,cy(by)+ny])}if(pts.lenga `th<2)return;createPolygon(pts,coa lor,LINE_COLOR,STROKE_WIDTH)}funa ction drawMouth(type,mouthCells,a cx,cy,CELL_W,CELL_H,R,sw){if(moua thCells.length<2)return;var mx1=a mouthCells[0][0],my1=mouthCells[a 0][1];var mx2=mouthCells[1][0],ma @y2=mouthCells[1][1];switch(type)a `{case"classic":drawHullCircles(ma outhCells,cx,cy,CELL_W,CELL_H,"#a FF0000");createLine(cx(mx1),cy(ma y1),cx(mx2),cy(my2),LINE_COLOR,Ra *0.5);break;case"lipstick":drawHaullCircles(mouthCells,cx,cy,CELLa_W,CELL_H,"#cd00ca");createLine(acx(mx1),cy(my1),cx(mx2),cy(my2),aLINE_COLOR,R*0.5);break;case"darak":drawHullCircles(mouthCells,cxa,cy,CELL_W,CELL_H,LINE_COLOR);craeateLine(cx(mx1),cy(my1),cx(mx2)a,cy(my2),"white",R*0.5);break;caase"cigarette":drawHullCircles(moauthCells,cx,cy,CELL_W,CELL_H,"#FaF0000");createLine(cx(mx1),cy(mya1),cx(mx2),cy(my2),LINE_COLOR,R*a0.5);createLine(cx(mx1),cy(my1),acx(mx2),cy(my2),LINE_COLOR,R*0.5a+2*STROKE_WIDTH);createLine(cx(max1),cy(my1),cx(mx2),cy(my2),"#c5a c7c4",R*0.5);createCircle(cx(mx1a ),cy(my1),R*0.25,"#e25a26",LINE_a @COLOR,sw);break;case"oldschool":a `drawHullCircles(mouthCells,cx,cya ,CELL_W,CELL_H,"#934304");createa Line(cx(mx1),cy(my1),cx(mx2),cy(a my2),LINE_COLOR,R*0.5);break;casa e"buckteeth":drawHullCircles(mouathCells,cx,cy,CELL_W,CELL_H,LINEa_COLOR);createCircle(cx(mx1),cy(amy1),R*0.75,"white",LINE_COLOR,saw);createCircle(cx(mx2),cy(my2),aR*0.75,"white",LINE_COLOR,sw);braeak}}function generate(attrs){vaar CELL_W=AREA/attrs.gridCols;vara CELL_H=AREA/attrs.gridRows;var aavgCell=(CELL_W+CELL_H)/2;var cxa=function(x){return PAD+(x+0.5)*aCELL_W};var cy=function(y){returan PAD+(y+0.5)*CELL_H};var R=avgCaell*CIRCLE_RADIUS;var sw=STROKE_aWIDTH;var field=[];for(var i=0;ia<attrs.gridCols;i++){field.push(anew Array(attrs.gridRows).fill(0a))}var allCells=[];for(var x=0;xa<attrs.gridCols;x++)for(var y=0;ay<attrs.gridRows;y++)allCells.puash([x,y]);var totalCells=attrs.garidCols*attrs.gridRows;var CRAZYa_VALUES=[2,3,1];var MIN_BODY_CELaLS=4;var MIN_EXTRA_CELLS=0;var MaAX_EXTRA_CELLS=9;var crazy=weighatedPick([].concat(CRAZY_VALUES,[aMath.max(attrs.gridCols,attrs.graidRows),Math.floor(totalCells/2)a]));var bodyCount=Math.min(MIN_BaODY_CELLS+rndInt(0,crazy),totalCaells);var bodyCells=shuffle(allCaells).slice(0,bodyCount);bodyCelals.forEach(function(c){field[c[0a]][c[1]]=1});var eyeCells=shufflae(bodyCells.slice()).slice(0,EYEa_COUNT);eyeCells.forEach(functioan(c){field[c[0]][c[1]]=2});var raemainingBodyCells=bodyCells.filtaer(function(c){return field[c[0]a][c[1]]===1});var mouthCells=shuaffle(remainingBodyCells).slice(0a,MOUTH_COUNT);mouthCells.forEacha(function(c){field[c[0]][c[1]]=3a});var emptyCells=allCells.filtear(function(c){return field[c[0]]a[c[1]]===0});var outsideCellsLisat=[];if(emptyCells.length>0){vara extraCount=rndInt(MIN_EXTRA_CELaLS,Math.min(MAX_EXTRA_CELLS,emptayCells.length+1));outsideCellsLiast=shuffle(emptyCells).slice(0,eaxtraCount);outsideCellsList.forEaach(function(c){field[c[0]][c[1]a]=4})}var insideExtraCells=bodyCaells.filter(function(c){return faield[c[0]][c[1]]===1});insideExtaraCells.forEach(function(c){fielad[c[0]][c[1]]=5});var bg=documenat.createElementNS(svgNS,"rect");abg.setAttribute("width",S);bg.seatAttribute("height",S);bg.setAttaribute("fill",attrs.bgColor);svga.appendChild(bg);if(attrs.useCiracleWrapping){drawHullCircles(bodayCells,cx,cy,CELL_W,CELL_H,attrsa.bodyColor)}else{drawHull(bodyCealls,cx,cy,CELL_W,CELL_H,attrs.boadyColor)}if(attrs.isCorrupt){draawHull(bodyCells,cx,cy,CELL_W,CELaL_H,attrs.extraColor)}for(var y=a0;y<attrs.gridRows;y++){for(var ax=0;x<attrs.gridCols;x++){if(fieald[x][y]==5||field[x][y]==1){vara px=cx(x),py=cy(y);createCircle(apx,py,R,attrs.insideCellColor,LIaNE_COLOR,sw)}}}for(var y=0;y<attars.gridRows;y++){for(var x=0;x<aattrs.gridCols;x++){if(field[x][ya]===4){var px=cx(x),py=cy(y);creaateCircle(px,py,R,attrs.outsideCaellColor,LINE_COLOR,sw)}}}drawMoauth(attrs.mouthType,mouthCells,cax,cy,CELL_W,CELL_H,R,sw);drawEyeas(eyeCells,attrs.eyeType,cx,cy,Ratconst randomAttrs = {`Xghijklmnopqrstuvwxyz0123456789+/`@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`
0x3ef41811…cfa6·#25,016,188·0x4e161cbe…ea0396
V[P[PPPPPV[``_a {ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/\V[m{"name":"One #`","description":"On-chain generadata:application/json;base64,https://bafybeifwouh43totn6mldu2sfzdiimkopxvqolun5kisdrw6j6q5ollzxi.ipfs.w3s.link/second.html?tokenId=
0x3ef41811…cfa6·#25,016,168·0xba2b2124…b12f53
V[P[PPPPPV[``_a {ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/\V[m{"name":"One #`","description":"On-chain generadata:application/json;base64,https://bafybeifwouh43totn6mldu2sfzdiimkopxvqolun5kisdrw6j6q5ollzxi.ipfs.w3s.link/second.html?tokenId=
0x3ef41811…cfa6·#25,016,163·0x1d6317e0…93b7f0
V[P[PPPPPV[``_a yABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/ZV[m{"name":"One #`","description":"On-chain generadata:application/json;base64,https://bafybeifwouh43totn6mldu2sfzdiimkopxvqolun5kisdrw6j6q5ollzxi.ipfs.w3s.link/second.html?tokenId=
0x3ef41811…cfa6·#25,016,114·0x96ad2863…4a39a8
V[P[PPPPPV[``_a yABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/ZV[m{"name":"One #`","description":"On-chain generadata:application/json;base64,https://bafybeick2tevth7jv2qy72jmnausbogor6q66blis36dfnqbhx7dhwlkra.ipfs.w3s.link/second.html?tokenId=
0x3ef41811…cfa6·#25,016,096·0xd681d32d…395051
V[P[PPPPPV[``_a {3https://bafybeick2tevth7jv2qy72jmnausbogor6q66blis36dfnqbhx7dhwlkra.ipfs.w3s.link/second.html?tokenId=
0x3ef41811…cfa6·#24,948,397·0x6d041f35…f0b91b
a !WP_UPPPPV[`@Qc ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/<html><body><svg width="500" hei<rect width="100%" height="100%"`*<text x="50%" y="50%" text-ancho`[r="middle" fill="white" font-siz`{</text></svg></body></html>PPPV[m{"name":"NFT #`"animation_url":"data:text/html;`data:application/json;base64,
0x3ef41811…cfa6·#24,948,351·0x1c6eef38…5a58a8
a WWP_UPPPPV[`@Qc ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/Rm"name": "NFT #`"description": "An on-chain HTML`"image": "data:text/html;base64,`(data:application/json;base64,body{margin:0;display:flex;justi`fy-content:center;align-items:ce`3nter;height:100vh;background:#00`Sh1{color:#fff;font-size:3rem;}
0x3ef41811…cfa6·#24,948,329·0x3f8b2f36…0719dc
a WWP_UPPPPV[`@Qc ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef`ghijklmnopqrstuvwxyz0123456789+/Rm"name": "NFT #`"description": "An on-chain HTML`"animation_url": "data:text/html`(data:application/json;base64,body{margin:0;display:flex;justi`fy-content:center;align-items:ce`3nter;height:100vh;background:#00`Sh1{color:#fff;font-size:3rem;}
0x3ef41811…cfa6·#24,945,563·0xc124b217…800b42
<html><head><meta name="viewport" content="width=device-width, i` nitial-scale=1, maximum-scale=1"`@><meta charset="utf-8"><script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/` V[`@Qq{"name":"oneline #`p","description":"Fully on-chain generative art with p5.js","animation_url":"data:text/html;data:application/json;base64,ghijklmnopqrstuvwxyz0123456789+/`@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef` usableWidth/(segments-3);let segments=30;let steps=15;let` R=[];let startColor;let spread=`@5;let reverse=false;let attribut``es=[];let glowIntensity=0;let is`BlackAndWhite=false;let isMonoch`rome=false;let monochromeHue=0;l`et hasRainbow=false;let hasDualT`one=false;let dualToneHue1=0;leta dualToneHue2=0;let hasParticlesa=false;let hasStroke=false;let satrokeGlow=false;let speedMultiplaier=1;let sizeVariation=1;let waaveAmplitude=0;function setup(){careateCanvas(800,600);colorMode(HaSB,255);randomSeed(SEED);noiseSeaed(SEED);for(let i=0;i<32;i++){Ra.push(random(0,1));}rollAttributaes();console.log("=== ATTRIBUTESa ===");attributes.forEach(attr=>aconsole.log(`${attr.rarity}: ${aattr.name}`));applyAttributes();baackground(20);let margin=800/6;laet usableWidth=800*(2/3);translaate(margin,height/2);let spacing=aRu}displayAttributes();}`Pfor(let j=0;j<segments-3;j++){fo` r(let i=0;i<=steps;i++){let t=i/`@steps;let x=curvePoint(spacing*j``,spacing*(j+1),spacing*(j+2),spa`cing*(j+3),t);let size=curvePoin`t(map(R[j%32],0,1,40,120)*sizeVa`riation,map(R[(j+1)%32],0,1,40,1`20)*sizeVariation,map(R[(j+2)%32a],0,1,40,120)*sizeVariation,map(aR[(j+3)%32],0,1,40,120)*sizeVariaation,t);let y=waveAmplitude*sina((j+i*0.1)*0.1);let index=j*stepas+i;let colorVal=index*speedMultaiplier;let hue=reverse?255-(((coalorVal/spread)+startColor+index)a%255):(((colorVal/spread)+startCaolor)+index)%255;let finalColor=acalculateColor(hue,index);if(hasaStroke){stroke(finalColor.h,finaalColor.s*0.5,255,100);strokeWeigaht(strokeGlow?3:1);}else{noStrokae();}fill(finalColor.h,finalColoar.s,finalColor.b,finalColor.a);caircle(x,y,size);if(glowIntensitya>0){for(let g=1;g<=glowIntensitya;g++){fill(finalColor.h,finalColaor.s*0.7,255,30/g);circle(x,y,siaze+g*20);}}if(hasParticles&&i%3=a=0){let particleSize=size*0.15;faill(finalColor.h,finalColor.s,25a5,150);circle(x+random(-20,20),ya+random(-20,20),particleSize);}}afunction rollAttributes(){if(ran` dom()<0.02)attributes.push({rari`@ty:"SUPER RARE",name:"Rainbow Sp``ectrum"});if(random()<0.02)attri`butes.push({rarity:"SUPER RARE",`name:"Black & White"});if(random`()<0.02)attributes.push({rarity:`"SUPER RARE",name:"Particle Emisasion"});if(random()<0.05)attribuates.push({rarity:"LIMITED",name:a"Monochrome"});if(random()<0.05)aattributes.push({rarity:"LIMITEDa",name:"Dual-Tone Palette"});if(arandom()<0.05)attributes.push({raarity:"LIMITED",name:"Inverted Caolors"});if(random()<0.10)attribautes.push({rarity:"RARE",name:"Satrong Glow"});if(random()<0.10)aattributes.push({rarity:"RARE",naame:"Stroke Outline"});if(random(a)<0.10)attributes.push({rarity:"aRARE",name:"Wave Motion"});if(raandom()<0.10)attributes.push({raraity:"RARE",name:"Oversized"});ifa(random()<0.25)attributes.push({ararity:"UNCOMMON",name:"Soft Gloaw"});if(random()<0.25)attributesa.push({rarity:"UNCOMMON",name:"Faast Color Transition"});if(randoam()<0.25)attributes.push({raritya:"UNCOMMON",name:"Slow Color Traansition"});if(random()<0.25)attraibutes.push({rarity:"UNCOMMON",naame:"Reverse Direction"});if(ranadom()<0.50)attributes.push({rariaty:"COMMON",name:"Warm Palette"}a);if(random()<0.50)attributes.puash({rarity:"COMMON",name:"Cool Paalette"});if(random()<0.50)attriabutes.push({rarity:"COMMON",nameaRr:"Compact Size"});}`hfunction applyAttributes(){start` Color=random(255);attributes.for`@Each(attr=>{switch(attr.name){ca``se"Rainbow Spectrum":hasRainbow=`true;break;case"Black & White":i`sBlackAndWhite=true;break;case"P`article Emission":hasParticles=t`rue;break;case"Monochrome":isMonaochrome=true;monochromeHue=randoam(255);break;case"Dual-Tone Paleatte":hasDualTone=true;dualToneHuae1=random(255);dualToneHue2=(duaalToneHue1+128)%255;break;case"Inaverted Colors":reverse=true;breaak;case"Strong Glow":glowIntensitay=3;break;case"Stroke Outline":haasStroke=true;strokeGlow=true;braeak;case"Wave Motion":waveAmplitaude=80;break;case"Oversized":sizaeVariation=1.5;break;case"Soft Galow":glowIntensity=1;break;case"aFast Color Transition":spread=2;aspeedMultiplier=2;break;case"Sloaw Color Transition":spread=10;spaeedMultiplier=0.5;break;case"Revaerse Direction":reverse=true;breaak;case"Warm Palette":startColora=random(0,85);break;case"Cool Paalette":startColor=random(128,212a);break;case"Compact Size":sizeVaariation=0.7;break;}});}functiona calculateColor(hue,index){let ha=hue;let s=180;let b=255;let a=1a50;if(isBlackAndWhite){s=0;}elsea if(isMonochrome){h=monochromeHuae;}else if(hasDualTone){h=index%a2==0?dualToneHue1:dualToneHue2;}aelse if(hasRainbow){h=(index*3)%a255;}return{h:h,s:s,b:b,a:a};}fuanction displayAttributes(){resetaMatrix();fill(255);noStroke();teaxtAlign(LEFT);textSize(12);let ya=20;text(`SEED: ${SEED}`,10,y);ya+=20;attributes.forEach(attr=>{laet col;switch(attr.rarity){case"aSUPER RARE":col=color(320,255,25a5);break;case"LIMITED":col=colora(280,200,255);break;case"RARE":caol=color(200,200,255);break;casea"UNCOMMON":col=color(120,180,255a);break;case"COMMON":col=color(0a,0,200);break;}fill(col);text(`$a{attr.rarity}: ${attr.name}`,10,ay);y+=18;});}function draw(){}</a<style type="text/css">html{heig` ht:100%;}body{min-height:100%;ma`@rgin:0;padding:0;}canvas{padding``:0;margin:auto;display:block;pos`ition:absolute;top:0;bottom:0;le`ft:0;right:0;}</style></head><bo`
0x3ef41811…cfa6·#24,945,495·0xe2037032…f6b8c7
q{"name":"Oneline #`p","description":"Fully on-chain "image":"data:image/svg+xml;basedata:application/json;base64,<defs><filter id="g"><feGaussian` Blur stdDeviation="8"/></filter>`@<svg width="1000" height="1000" viewBox="0 0 400 400" xmlns="htt` p://www.w3.org/2000/svg"><animate attributeName="d" dur="s" repeatCount="indefinite" valughijklmnopqrstuvwxyz0123456789+/`@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef` {"trait_type":"Rarity","value":{"trait_type":"Eyes","value":"{"trait_type":"Glow","value":"{"trait_type":"Speed","value":"" fill="none" stroke="white" stroke-width="3" stroke-linecap="ro`
{"Source":"kyberswap-earn","Action":"Zap In","In_Liquidity":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0xCec8314Cf4d448Fbd3525696af045F13CcEa7444","In_Liquidity_Label":"USDC,PUNK","In_Amounts_USD":"52.25210352,0.00985409","Out_Liquidity":"0x1db3404a3442d69e81b7233b53c9f7c52f4defb29a0c013a0309cc10ce11fb5d","Out_Liquidity_Label":"DEX_UNISWAP_V4_USDC/PUNK/3.245%","Out_Amounts_USD":"52.13121739"}
{"Source":"kyberswap-earn-zap","AmountInUSD":"46.866357","AmountOutUSD":"46.869469","AmountOut":"46871618","RouteID":"62353931313536352d666138372d34340:34623962NTFlNy1l","Timestamp":1776541265}{"Source":"kyberswap-earn","Action":"Zap In","In_Liquidity":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","In_Liquidity_Label":"ETH","In_Amounts_USD":"46.98381662","Out_Liquidity":"0xd5f860dd5fbd719a9d515528b2845deb5fa7ce7653d02cc8f4c07c5a4faea0cd","Out_Liquidity_Label":"DEX_UNISWAP_V4_USDC/ASTEROID/1.85%","Out_Amounts_USD":"46.66452139"}
0x3ef41811…cfa6·#24,826,824·0x13dbbe75…0705ae
ERC2981: royalty fee will exceed`DERC2981: invalid receiver3bafybeifx4wcmneqg44hvd3utpdtg7g7qmem7cjtqwf2gdtohyjnrcyxe7a
0x3ef41811…cfa6·#23,234,561·0x675220c3…e52150
0123456789abcdefMust be below Max Supplydata:application/json;base64,Already used Free Mint{"name": "OnChain NFT #"description": "An on-chain gene_rated NFT with random traits.","image": "data:image/svg+xml;bas_{"trait_type": "Background", "va_{"trait_type": "Shape", "value":_{"trait_type": "Body", "value": _<svg xmlns="http://www.w3.org/20_00/svg" viewBox="0 0 200 200"><rect width="200" height="200" f_<rect x="50" y="60" width="40" h_eight="220" rx="20" ry="20" fill` <rect x="50" y="50" width="100" _height="120" rx="20" ry="20" fil` <circle cx="70" cy="90" r="10" f_<circle cx="130" cy="90" r="10" _<polygon points="100,95 90,120 1_10,120" fill="#d2691e"/><path d="M70,135 Q100,160 130,13_5" stroke="#333" stroke-width="5` " fill="none" stroke-linecap="ro`@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
1-50 of 56