How sunsets work in a flat earth