( val ) {

					raycaster.params.Line2.threshold = val;
					matThresholdLine.linewidth = matLine.linewidth + raycaster.params.Line2.threshold;

				} );

				gui.add( params, 'translation', 0, 10 ).onChange( function ( val ) {

					line.position.x = val;
					segments.position.x = val;

				} );

				gui.add( params, 'animate' );

			}

		</script>

	</body>

</html>
