wanadev/PhotonUI — pull request #2 by Platane (2014-08-11 08:45:13+00:00)
Title: mask trick on color picker

The square update is pretty slow.

It can be accelerated using an overlay on a canvas filled with the current color.

The difference is barely noticeable, as you can see ->

http://platane.github.io/PhotonUI/demo/ColorPicker.html

( top one is the new one, bottom one is the old one )