adding example for setPixels in examples