Watch the cat's first move. That's the direction he wants to go.
Start putting up "fence posts". Fence posts are two dark circles, with a light circle in between.
_X_X_X_X_X_X_X_X
Of course, you start with the post in the middle of that line.
________X________
See which way the cat leans. If he heads towards the right:
________X___X____
If he looks like he's going between the posts:
________X_X_X____
When he gives up, and makes a 90 degree turn, repeat the process.