ntrast_change_cpu2(d) {
		const c = cpu2;
		let b = Number(c.dataset.contrast);
		if (d < 0)
			b = b - 5;
		else
			b = b + 5;
		if (b < 0)
			b = 0;
		if (b > 900)
			b = 900;
		c.dataset.contrast = b;
	}

	function apply_transforms_cpu2() {
		const c = cpu2;
		const x = Number(c.dataset.offsetX);
		const y = Number(c.dataset.offsetY);
		const s = Number(c.dataset.scale);
		const z = Number(c.dataset.brightness);
		const t = Number(c.dataset.contrast);
		//console.log(`tx = ${typeof(x)}`);
		//console.log