Using bitwise operators to create animations with 1s and 0s