https://github.com/axmandm/sgdk-bitmap-sine-wave
https://github.com/axmandm/sgdk-bitmap-sine-wave
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/axmandm/sgdk-bitmap-sine-wave
- Owner: axmandm
- Created: 2020-06-23T21:40:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-27T05:49:34.000Z (almost 5 years ago)
- Last Synced: 2024-07-31T20:26:53.277Z (9 months ago)
- Language: Assembly
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.