Update eyeball

(1) Split the code for patterns to a separate file.
(2) Run patterns randomly.