Example: Help_13 (Snowflakes are not being erased.) Also, for some reason the snowflakes are showing up in RED vs. white. Ink 15 just before the Do loop will correct the snowflake color, but there must be another problem since this example works fine in AMOS Pro.
Search
Yes, that is true: gr writing has not real effect. On the list...
This one is a difficult one, and can only be corrected after I do a specific graphical mode for screens... Javascript does not allow to do real XOR mode, it was too simple for them to think about it. So I did a simple implementation of XOR in PLOT, and only in PLOT. The rest will be done in January. In the meantime, the snow demo now works much better in v0.9.2.2, yet still a problem that I do not understand, why are the snowflakes white on the Amiga and red in Javascript... the palette specifically sets colour #1 to be red... It must be a question of bitplanes... It will be corrected later.
It's easier than you think. Yes, you can do an xor in the HTML5 canvas, but NOT using the "xor" mode. Instead, set globalCompositeOperation to 'difference'. That should work! The "xor" mode is intended to xor only the alpha bits! (weird)
0.9.2.3 update: The "snowflakes" are now erased properly. Changing the last statement on line 81 from Ink 1,0 to Ink 15,0 will now make the example fully functional.