3 ms·
How good do you need it? Lol. This is the approximation that I used in for the animated sinwave example for SectorC: y ~= 100 + (x*(157 - x)) >> 7 https://gi
by xorvoid 3y ago
How good do you need it? Lol.
This is the approximation that I used in for the animated sinwave example for SectorC:
y ~= 100 + (x*(157 - x)) >> 7
https://github.com/xorvoid/sectorc/blob/main/examples/sinwave.c https://github.com/xorvoid/sectorc/blob/main/examples/sinwav...
- JKCalhoun 3y agoTried entering it in Grapher (on the Mac) and got what looked more or less like a parabola. My algebra is rusty — but do you kind of have an x-squared in there?