Very cool, I admire computer generated Mondrianesque art.
But it's harder to understand than an ordinary toggle, which is sometimes difficult to understand in modern flat design. Mondrian used white as one of his colors, when the white square shows is that "on" or "off"?
https://codepen.io/about