№
4981
Screenshot 2024-11-16 at 12-20-12 Bytebeat composer.png
(449.19KB, 1918x941)
%3Ca%20href%3D%22%2Fbtb%2Fsrc%2F1731777623375-0.png%22%20onclick%3D%22return%20expandFile%28event%2C%2049810%29%3B%22%3E%3Cimg%20src%3D%22%2Fbtb%2Fsrc%2F1731777623375-0.png%22%20width%3D%221918%22%20style%3D%22max-width%3A%20100%25%3B%20height%3A%20auto%3B%22%3E%3C%2Fa%3E
i swear there was a fancy name for this but i forgot
g = x => sin(x*10000/(20000+(x % 100000)))*32 + 32, s = x => ((50000 ** 2 - ((x % 100000) - 50000) ** 2))/500000000, n = x => g(x)*(s(x) ** 0.5)/5, new Array(10).fill(0).map((x,i) => n(t/7+10000*i)).reduce((a,b) => a+b, 0)/5