the arrows to move, and don't touch the spikes! grab the key to unlock the door. try to get to the portal, which is the green circle. the door will take a few tries to cooperate.
thanks to scratchteam's strategy of using the "point in direction" thingy, and the strategy of moving negative"whatever" steps.