generate work trajectory frame