mini renderer has draw and erase methods