Is there a way to generate a random contrast level on html canvas?

前端 未结 0 1780
执念已碎
执念已碎 2021-01-05 18:22

I am trying to present this shape as a stimulus in a behavioral experiment. I wantthe image to have a random contrast level between 0 and 1. I am trying to use Math.random()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题