<commit_before>// displayProperties(MovableBall.motion);
// var movementResult1 = movementModule(MovableBall);
// displayProperties(MovableBall.motion);
// console.log(movementResult1);
// console.log("\n");


// displayProperties(FixedBall.motion);
// displayProperties(FixedBall.switches);
// var movementResult2 = movementModule(FixedBall);
// displayProperties(FixedBall.motion);
// console.log(movementResult2);
// console.log("\n");

/////////////////////////
//TEST OBJECTS
/////////////////////////

var MoveableBall = PhysicalObject();
MoveableBall.motion.position = [0, 0, 0];
MoveableBall.switches.motionEnabled = true;
MoveableBall.switches.accelerationEnabled = true;
MoveableBall.switches.gravityEnabled = true;

var FixedBall = PhysicalObject();
FixedBall.motion.velocity = [100, 2, 3];

var externalForce1 = Force("External Thrust", [0, 0, 20]);
externalForce1.act(MoveableBall);


displayProperties(MoveableBall.motion);

for(var i = 0; i < 20; i++){
	if(i === 5) {
		externalForce1.stop(MoveableBall);
	}
	var movementResult = movementModule(MoveableBall);
	displayProperties(MoveableBall.motion);
	console.log(MoveableBall.resultantForce);
}<commit_msg>Change tester to output CSV to the document. Add spreadsheet with graph of object's path.<commit_after>// displayProperties(MovableBall.motion);
// var movementResult1 = movementModule(MovableBall);
// displayProperties(MovableBall.motion);
// console.log(movementResult1);
// console.log("\n");


// displayProperties(FixedBall.motion);
// displayProperties(FixedBall.switches);
// var movementResult2 = movementModule(FixedBall);
// displayProperties(FixedBall.motion);
// console.log(movementResult2);
// console.log("\n");

/////////////////////////
//TEST OBJECTS
/////////////////////////

var MoveableBall = PhysicalObject();
MoveableBall.motion.position = [0, 0, 0];
MoveableBall.switches.motionEnabled = true;
MoveableBall.switches.accelerationEnabled = true;
MoveableBall.switches.gravityEnabled = true;

var FixedBall = PhysicalObject();
FixedBall.motion.velocity = [100, 2, 3];

var externalForce1 = Force("External Thrust", [0, 0, 20]);
externalForce1.act(MoveableBall);


displayProperties(MoveableBall.motion);

for(var i = 0; i < 100; i++){
	if(i === 25) {
		externalForce1.stop(MoveableBall);
	}
	var movementResult = movementModule(MoveableBall);
	//displayProperties(MoveableBall.motion);
	//console.log(MoveableBall.resultantForce);
	document.writeln(i + ", " + MoveableBall.motion.position[0] + ", " + MoveableBall.motion.position[1] + ", "
		+ MoveableBall.motion.position[2]);
}
{'fraction_non_alphanumeric': 0.18266614846482704, 'fraction_numerical': 0.019821220365332296, 'mean_word_length': 4.607843137254902, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1237083', 'n_tokens_mistral': 886, 'n_tokens_neox': 765, 'n_words': 140}