Apple II - AppleSoft Code Sample SIN curve in hi-res mode

Richard legalize at xmission.com
Fri Aug 29 10:44:08 CDT 2008


In article <e95e3741aad24aa99d99de0f8cb946ec at sm-mail.degnanco.net>,
    "Bill Degnan" <billdeg at degnanco.com>  writes:

> If HPLOT is used only to draw straight lines, how does one draw curves
> in hi- res mode using an Apple II AppleSoft BASIC?

For each horizontal pixel x:
  compute sin(x)
  draw line from x-1,sin(x-1) to x,sin(x)
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>


More information about the cctech mailing list