I'd like to change the coordinate system in a 2d processing sketch, putting (0,0) in the bottom-left rather than the top-left. The following code will move (0,0) to the bottom-left:

```java
transform(0, height);
rotate(radians(-90));

```

However, it also makes the X-axis the vertical axis. Is there a simple way to move (0,0) to the bottom-left *and* keep the X-axis horizontal?

One option I've considered is using P3D with a combination of rotate and rotateY, but would prefer a solution for the 2d case.

Thanks for any help!