You need to use the rotate() function p5 provides (gameLab uses p5)
It’s easier to use it in degrees in your case.
Here’s what you should do to get an ellipse rotated at 45 degrees (what you’re trying to achieve):
angleMode(DEGREES)
rotate(45)
ellipse(270, 115, 80, 170)
rotate is like fill, it will reset in the start of draw.
I use angleMode to change from radians to angles. It’s sometimes easier to work with angles.
Please tell me if this works, since some functions from P5 are unavailable in gameLab. I wasn’t able to test it in code.org since I don’t have my laptop.