Why is Javascript automatically blending my colors?

后端 未结 2 555
盖世英雄少女心
盖世英雄少女心 2021-01-13 20:33

I\'m just starting out with Javascript and HTML5 so it\'s entirely likely that I\'m making some really dumb mistake. In fact I hope that\'s all it is and that this is an ea

2条回答
  •  失恋的感觉
    2021-01-13 21:26

    Check out the globalCompositeOperation option. Seems like you had set it to "lighter", while you want the default "source-over".

提交回复
热议问题