c=0,draw=$=>{c++?clear(noStroke()):createCanvas(W=600,W,WEBGL),background``,rotateX(-.3),rotateY(c/30),E=ellipsoid,F=fill,l=128,T=$=>translate(0,$),push(F`#7A5`),rotate(.2),T(-135),pop(E(30,8,20)),T(-80),cylinder(3,l),ambientLight(200),pointLight([W],W,-(3*W),2*W),specularMaterial(W),F`#DCB`,T(80),E(99,50,99,l,l),T(80),E(l,50,l,l,l),T(-160),F`#D70`,E(40)};
// #トゥートProcessing
c=0;draw=_=>{c++?noStroke(rotateX(-.7)):createCanvas(W=600,W,WEBGL);B=box,P=pointLight,T=translate,P([W],0,-300,800),lightFalloff(.4,.001,0),Z=200,S=sin(t=c/20),I=abs(S+abs(S))*10,T(0,60-I*3),fill`#F00`,B(x=Z-I,y=Z+I,x),push(fill`#2D2`),T(0,-y/2),B(x,5,40),T(0,y/2,5),pop(B(40-I/5,y+5,x)),T(0,I*3-x/2),specularMaterial` #トゥートProcessing #Xmas #Happy Holidays`,P(Z,Z,0,0,400),rotateY(c/Z),cone(700,1e3)}
おともだちほしい!