X       ",
			],
		},
    ];
	const end = frames.length - 1;

	function run(index) {
		let frame = frames[index];
		if (typeof frames[index] === "string") {
			frame = frames.filter(v => v.id === frame)[0];
        }
    	const {repeat, picture} = frame;
    	let newText = "";
    	let i;
    	for (i = 0; i < picture.length; i++) {
    		newText += `${picture[i].replace(/ /g, '\u00a0')}\n`;
        }
    	root.innerText = newText;

    	setTimeout(() => {
			if (index === end) {
				run(0);
			} else {
				