draw for eclipse