write random pixels