Frank DENIS random thoughts.

Fast sinus and cosinus approximation

Computing sine and cosine are expensive operations.

Besides the traditional lookup tables and taylor series, here’s a fantastic solution using a quadratic curve which blows everything away in terms of performance and accuracy.

Fast and accurate sine/cosine approximation