Posts with #p5js
#p5js
Public posts on X that use #p5js.
Related hashtags

Kurt Moerman@KurtMoerman4f=0;r=240;s=.7*r;b=255// #p5js draw=_=>{f||createCanvas(W=2*b,W)+noStroke() background(0,f?8:b);d=.39*cos(f++/W) for(u=0;q=sin(u),p=cos(u),fill(m=b-p*b,c=b-q*b,b+c-m),u<TAU;u+=.4-d) for(v=u;j=sin(v+u),k=cos(v+u),v<u+TAU;v+=.4+d) rect(b+r*q*k,b+s*q*j+s*p,2+q*j)}10613536.4K


Interactive fluid web app 【インタラクティブな流体シミュレーション】 I ported PavelDoGreat/WebGL-Fluid-Simulation to the #p5js Web Editor. I added #MediaPipe so mouse/touch controls work with both hands on camera. #TensorFlowJSyou @youtoy#p5js Web Editor上で、WebGL を使った流体の見た目を作るやつが動かせた! 元ネタは、PavelDoGreat/WebGL-Fluid-Simulation のリポジトリで公開されているもので、この中の処理を p5.js Web Editor上の sketch.js の中に組み込んで調整する感じでできた!101131K121K







521521.1K27K





- Show more posts


