<commit_before><script src="build/silk.min.js"></script>
<body style="margin:0px"></body>

<script>
	
	var canvas, square;
	
	init();
	animate();
	
	function init () {
		
		canvas = new SILK.Canvas();
		canvas.setSize( window.innerWidth, window.innerHeight );
		
		square = new SILK.Rect({ width: 80, height: 80, wireframe: true, color: 0xff0000 });
		square.position.set( window.innerWidth / 2, window.innerHeight / 2 );
		canvas.add( square );
		
		document.body.appendChild( canvas.domElement );
	}
	
	function animate () {
		
		requestAnimationFrame( animate );
		
		square.rotation += 0.02;
		canvas.render();
	}
	
</script><commit_msg>updated example<commit_after><script src="build/silk.min.js"></script>
<body style="margin:0px"></body>

<script>
	
	var canvas, scene, camera;
	var square;
	
	init();
	animate();
	
	function init () {
		
		canvas = new SILK.Canvas();
		canvas.setSize( window.innerWidth, window.innerHeight );
		
		camera = new SILK.Camera();
		camera.position.set( window.innerWidth / 2, window.innerHeight / 2 );
		
		scene = new SILK.Scene();
		
		square = new SILK.Rect({ width: 80, height: 80, wireframe: true, color: 0xff0000 });
		scene.add( square );
		
		document.body.appendChild( canvas.domElement );
	}
	
	function animate () {
		
		requestAnimationFrame( animate );
		
		square.rotation += 0.02;
		canvas.render( scene, camera );
	}
	
</script>
{'fraction_non_alphanumeric': 0.15701881331403764, 'fraction_numerical': 0.02170767004341534, 'mean_word_length': 3.5643564356435644, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6146093', 'n_tokens_mistral': 542, 'n_tokens_neox': 437, 'n_words': 103}