"change", function () {

				instanceCount = parseInt( instanceCountElm.value );
				initMesh();

			} );

			//

			var methodElm = document.getElementById( 'method' );

			method = methodElm.value;

			methodElm.addEventListener( "change", function () {

				method = methodElm.value;
				initMesh();

			} );

			//

			var animateElm = document.getElementById( 'animate' );

			doAnimate = animateElm.checked;

			animateElm.addEventListener( "click", function () {

				doAnimate = animateElm.checked;
				a