2024-03-11 glslでpowを使った減衰関数 graph shader float y(float x) { float offset = 0.0; float xx = x + offset; return cos(xx*10.0)*pow(2.0,-0.9*abs(xx)); }