add clip sample code
add debug version threejs