Barrel

Practice
Pairs Orient

Manual for xbarrel (similar X program).
JavaScript Source: barrel.js.