<commit_before>var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);

var renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);

var geometry = new THREE.BoxGeometry(1, 1, 1);
var material = new THREE.MeshBasicMaterial({ color: 0x00ff00 });
var cube = new THREE.Mesh(geometry, material);
scene.add(cube);

camera.position.z = 5;

var controls = new THREE.TrackballControls(camera);

var animate = function() {
	controls.update();
    requestAnimationFrame(animate);
    renderer.render(scene, camera);
};
<commit_msg>added different color sides to a cube<commit_after>var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);

var renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);



var materials = [
    new THREE.MeshBasicMaterial({ color: 0x00ff00 }),        // Left side
    new THREE.MeshBasicMaterial({ color: 0x0B5394 }),       // Right side
    new THREE.MeshBasicMaterial({ color: 0x62643D }),         // Top side
    new THREE.MeshBasicMaterial({ color: 0x077E24}),      // Bottom side
    new THREE.MeshBasicMaterial({ color: 0x2D3553 }),       // Front side
    new THREE.MeshBasicMaterial({ color: 0x7F16B1 })         // Back side
];
var geometry = new THREE.BoxGeometry(25,25,25);
var cube = new THREE.Mesh(geometry, materials);
scene.add(cube);




// var frame1 = new THREE.Mesh(
// 	new THREE.BoxGeometry(30,30,10)
// 	);
// scene.add(frame1)



camera.position.z = 55;

var controls = new THREE.TrackballControls(camera);

var animate = function() {
	controls.update();
    requestAnimationFrame(animate);
    renderer.render(scene, camera);
};

{'fraction_non_alphanumeric': 0.13227513227513227, 'fraction_numerical': 0.03968253968253968, 'mean_word_length': 4.223756906077348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6558753', 'n_tokens_mistral': 654, 'n_tokens_neox': 580, 'n_words': 143}