Clich then Drag or move the mouse to animate

Source code

SunAndMoon.java