Bug #427

Rainbows are too dark

Added by Nick Morison about 3 years ago. Updated about 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected version:


The below code (from page 140 of the original Amos manual) draws a red rainbow on screen:

Set rainbow 0,1,64,"(8,2,8)","",""
Rainbow 0,56,1,255
Wait Key

This works on AOZ but the rainbow is so dark it's barely visible.


messed_up_rainbow.png (27.4 KB) messed_up_rainbow.png Notice the diagonal "line" indicating some kind of offset, as well as the gaps. Brian Flanagan, 09/10/2020 06:58 AM
messed_up_in_AOZ_Viewer.png (18.6 KB) messed_up_in_AOZ_Viewer.png In the AOZ viewer the gaps are in different places. Brian Flanagan, 09/10/2020 07:03 AM

Updated by Francois Lionet about 3 years ago

  • Status changed from New to Feedback

You have to be in Amiga mode to run such examples, in Amiga mode, colors are in the form $RGB whereas in AOZ mode, $RRGGBB.
If you want this example to work in AOZ mode, you should replace the string with:
Set rainbow 0,1,64,"(8,20,8)","",""


Updated by Brian Flanagan about 3 years ago

Even in the "amiga" manifest the rainbows are really messed up.
Here's an example of what the above example produces.

The lines are offset, and there are gaps at irregular intervals.


Updated by Francois Lionet about 3 years ago

The short color problem is now fixed in the rainbows.
But rainbows need a refactoring to avoid gap, that only happen in full screen where there is too much data to handle. For a next version.

Also available in: Atom PDF