How to build an optical trap