In reply to a tweet by benfrain:

@benfrain Swap the order of your rotate() and translate() transforms. Order matters.