User Tools

Site Tools


base:generating_approximate_sines_in_assembly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

base:generating_approximate_sines_in_assembly [2015-04-17 04:32] – external edit 127.0.0.1base:generating_approximate_sines_in_assembly [2017-10-26 07:27] (current) white_flame
Line 1: Line 1:
 ====== Generating Sine Tables from Parabolas ====== ====== Generating Sine Tables from Parabolas ======
 +by White Flame
  
 It's been a long-standing tradition in games & demos that sine waves can be approximated by parabolas (see the graph at the bottom).  They're a little boxier, and deviate to an error of about 6%, but generally work for doing quick and dirty trig. It's been a long-standing tradition in games & demos that sine waves can be approximated by parabolas (see the graph at the bottom).  They're a little boxier, and deviate to an error of about 6%, but generally work for doing quick and dirty trig.
Line 104: Line 105:
 Any base-2 amplitude should be likewise possible. Any base-2 amplitude should be likewise possible.
  
- 
----- 
- 
-White Flame (aka David Holz) 
base/generating_approximate_sines_in_assembly.txt · Last modified: 2017-10-26 07:27 by white_flame