4 ms·
CORDIC (http://en.wikipedia.org/wiki/Cordic http://en.wikipedia.org/wiki/Cordic), used to efficiently calculate trig functions with only very basic hardware req
by joe_bleau 16y ago
CORDIC (http://en.wikipedia.org/wiki/Cordic http://en.wikipedia.org/wiki/Cordic), used to efficiently calculate trig functions with only very basic hardware requirements (add, sub, shift, and table lookup).
- hxa7241 16y ago. . . relatedly, from Jim Blinn, from Marvin Minsky -- drawing a circle (near enough), or doing incremental rotation, using just integer add, sub, and two shifts: N = 128 * 3.14159 X = 1000 Y = 0 MOVE(X,Y) FOR I = 1 TO N X = X - (Y >> 6) Y = Y + (X >> 6) DRAW(X,Y)