<commit_before>
function LD38() {
	UIViewport.call(this,this);
	this.map = null;
	this.flat_shading = true;
	this.vary_height = false;
	this.camera = {
		centre: [0, 0, 0],
		up: vec3_normalise([0, 1, 1]),
		eye: [3, 1, 0],
	};
	this.uniforms = {
		colour: [1, 1, 1, 1],
		lightColour: [1, 0.95, 1],
		lightDir: [0.2, 0.2, -1],
		ambientLight: [0.3, 0.3, 0.3],
		fogColour: [1,1,0.8,1],
		texture: getFile("image", "data/world_physical_enhanced_pacific_giclee_lg.jpg"),
		fogDensity: 0.02,
		pMatrix: null,
		mvMatrix: null,
	};
	this.win = new UIWindow(false,this); // a window to host this viewport in
	this.lastTick = now();
	this.tool = null;
	this.win = new UIWindow(false, this); // a window to host this viewport in
	this.iterations = 4;
	this.map = this.makeMap();
}

LD38.prototype = {
	__proto__: UIViewport.prototype,
	render: function(ctx) {<commit_msg>LD38 defer loading of large world map image<commit_after>
function LD38() {
	UIViewport.call(this,this);
	this.map = null;
	this.flat_shading = true;
	this.vary_height = false;
	this.camera = {
		centre: [0, 0, 0],
		up: vec3_normalise([0, 1, 1]),
		eye: [3, 1, 0],
	};
	this.uniforms = {
		colour: [1, 1, 1, 1],
		lightColour: [1, 0.95, 1],
		lightDir: [0.2, 0.2, -1],
		ambientLight: [0.3, 0.3, 0.3],
		fogColour: [1,1,0.8,1],
		fogDensity: 0.02,
		pMatrix: null,
		mvMatrix: null,
	};
	this.win = new UIWindow(false,this); // a window to host this viewport in
	this.lastTick = now();
	this.tool = null;
	this.win = new UIWindow(false, this); // a window to host this viewport in
	this.iterations = 4;
	this.map = this.makeMap();
	var self = this;
	loadFile("image","data/world_physical_enhanced_pacific_giclee_lg.jpg", function(tex) {
			self.uniforms.texture = tex;
	});
}

LD38.prototype = {
	__proto__: UIViewport.prototype,
	render: function(ctx) {
{'fraction_non_alphanumeric': 0.17252747252747253, 'fraction_numerical': 0.04835164835164835, 'mean_word_length': 3.8174603174603177, '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': '1907644', 'n_tokens_mistral': 843, 'n_tokens_neox': 761, 'n_words': 183}