updated rgb effect added performance test between direct and array pixel access