Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axmandm/sgdk-bitmap-sine-wave


https://github.com/axmandm/sgdk-bitmap-sine-wave

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Draws sine and cosine waves on screen, using the line drawing techniques from https://github.com/axmandm/sgdk-bitmap-line

There are some small additions to the code, to prevent flickiering of the lines/pixels drawn:

`BMP_setBufferCopy(TRUE); // if we do not do this, the bitmap pixels and lines will flicker when drawing`

This needs to be used in conjuction with:

`BMP_flip(FALSE);`

If BMP_flip(TRUE), then BMP_setBufferCopy(TRUE) has no effect.