<commit_before>#declare ViewZ = -1;

#macro Scene ()

camera {
	location < -BX*2.5, BY*3, -BY*3.5 >
	angle 35
	look_at < -BX/4, BY/2, 0 >
}

union {
	#declare i = 0;
	#while(i < 10)
		union {
			Book(DefaultBook)
			translate < BZ, 0, -BZ >
			rotate < 0, -95, 0 >
			translate < BZ*i, 0, 0 >
		}
		#declare i = i + 1;
	#end
}

union {
	#declare i = 0;
	#while(i < 5)
		union {
			Book(DefaultBook)
			translate < 0, -BY, -BZ*2 >
			rotate < 15, 0, 0 >
			translate < -BZ/3*i, BY-BZ, -BZ*i >
			// translate <0+i*.02,0,-i*bookthickness>
		}
		#declare i = i + 1;
	#end
	translate < BZ, 0, 0 >
	rotate < 0, 20, 0 >
}

union {
	#declare i = 0;
	#while(i < 6)
		union {
			#if(i < 5)
				Book(DefaultBook)
			#else
				BookFlip(DefaultBook)<commit_msg>Make book count in stack renderings dependent on thickness<commit_after>#declare ViewZ = -1;

#macro Scene ()

#declare Count = 0.5 / BookThickness;

camera {
	location < -BX*2.5, BY*3, -BY*3.5 >
	angle 35
	look_at < -BX/4, BY/2, 0 >
}

union {
	#declare i = 0;
	#while(i < Count * 2)
		union {
			Book(DefaultBook)
			translate < BZ, 0, -BZ >
			rotate < 0, -95, 0 >
			translate < BZ*i, 0, 0 >
		}
		#declare i = i + 1;
	#end
}

union {
	#declare i = 0;
	#while(i < Count + 1)
		union {
			Book(DefaultBook)
			translate < 0, -BY, -BZ*2 >
			rotate < 15, 0, 0 >
			translate < -BZ/3*i, BY-BZ, -BZ*i >
			// translate <0+i*.02,0,-i*bookthickness>
		}
		#declare i = i + 1;
	#end
	translate < BZ, 0, 0 >
	rotate < 0, 20, 0 >
}

union {
	#declare i = 0;
	#while(i < Count)
		union {
			#if(i < 5)
				Book(DefaultBook)
			#else
				BookFlip(DefaultBook)
{'fraction_non_alphanumeric': 0.17801374141161774, 'fraction_numerical': 0.056214865708931916, 'mean_word_length': 2.3797468354430378, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 25, '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': '5138708', 'n_tokens_mistral': 887, 'n_tokens_neox': 734, 'n_words': 189}