HOME | DD

undefinedreference — Simple Spectrum

Published: 2022-05-13 00:36:53 +0000 UTC; Views: 53; Favourites: 1; Downloads: 1
Redirect to original
Description One of the simplest possible spectra using pure arithmetic:

ffff00, ff7f00, ff0000, ff007f, ff00ff, 7f00ff, 0000ff, 007fff, 00ffff, 00ff7f, 00ff00, 7fff00

The only issue is that '7f' is rounded: 2 * 7f = fe (2 * 127 = 254; not 255). Which makes chaining additions/subtractions problematic.
Related content
Comments: 0