<commit_before>// Init
var doc = document.documentElement;
// creating app
var engine = new Nauper.Engine({
  canvas: document.getElementsByTagName("canvas")[0],
  size: {
      width: doc.clientWidth,
      height: doc.clientHeight
  }
}, []);

var lena = new Nauper.Character({
	"path": "./data/images/characters/lena", 
	"emotions": ["smile"]
});
var yulya = new Nauper.Character({
    "path": "./data/images/characters/yulya",
    "emotions": ["smile"]
});

var frameOne = new Nauper.Frame(engine, {
	"characters": [lena.smile, yulya.smile], 
	"displayOrder": [0, 1], 
	"textbox": {
        "edges": "default",
		"base": "#fff", 
		"namecolor": "#000", 
		"name": "Лена", 
		"textcolor": "black", 
		"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
	}, 
	"background": "1.jpg"
});
var frameTwo = new Nauper.Frame(engine, {
    "characters": [lena.smile, yulya.smile],
    "displayOrder": [false, false, 1, 0],
    "textbox": {
        "base": "#fff",
        "edges": "rounded",
        "namecolor": "#000",
        "name": "Юля",
        "textcolor": "black",
        "text": "я некочан"
    }
});

var frameThree = new Nauper.Frame(engine, {
    "background": false,
    "characters": [],
    "displayOrder": [],
    "textbox": {
        "base": "#fff",
        "edges": "rounded",
        "namecolor": "#000",
        "name": "ГГ",
        "textcolor": "#000",
        "text": "Текст без героев"
    }
});

var questionOne = new Nauper.Question(engine, {
    "boxcolor": "#fff",
    "textcolor": "#000",
    "boxtype": "rounded",
    "map": [{
        "text": "в начало",
        "address": "0"
    },
    {
        "text": "вперед",
        "address": "1"
    }]
});

engine.addScene([frameOne, questionOne]);
engine.addScene([frameTwo, frameThree]);

engine.start();<commit_msg>Example changes<commit_after>// Init
var doc = document.documentElement;
// creating app
var engine = new Nauper.Engine({
  canvas: document.getElementsByTagName("canvas")[0],
  size: {
      width: doc.clientWidth,
      height: doc.clientHeight
  }
}, []);

var lena = new Nauper.Character({
	"path": "./data/images/characters/lena", 
	"emotions": ["smile"]
});
var yulya = new Nauper.Character({
    "path": "./data/images/characters/yulya",
    "emotions": ["smile"]
});

var frameOne = new Nauper.Frame(engine, {
	"characters": [lena.smile, yulya.smile], 
	"displayOrder": [0, 1], 
	"textbox": {
        "edges": "default",
		"base": "#fff", 
		"namecolor": "#000", 
		"name": "Лена", 
		"textcolor": "black", 
		"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
	}, 
	"background": "1.jpg"
});
var frameTwo = new Nauper.Frame(engine, {
    "characters": [lena.smile, yulya.smile],
    "displayOrder": [false, false, 1, 0],
    "textbox": {
        "base": "#fff",
        "edges": "rounded",
        "namecolor": "#000",
        "name": "Юля",
        "textcolor": "black",
        "text": "<NAME>"
    }
});

var frameThree = new Nauper.Frame(engine, {
    "background": false,
    "characters": [],
    "displayOrder": [],
    "textbox": {
        "base": "#fff",
        "edges": "rounded",
        "namecolor": "#000",
        "name": "ГГ",
        "textcolor": "#000",
        "text": "Текст без героев"
    }
});

var questionOne = new Nauper.Question(engine, {
    "boxcolor": "#fff",
    "textcolor": "#000",
    "boxtype": "rounded",
    "map": [{
        "text": "в начало",
        "address": "0"
    },
    {
        "text": "вперед",
        "address": "1"
    },
    {
        "text": "без персонажей",
        "address": "2"
    }]
});

engine.addScene([frameOne, questionOne]);
engine.addScene([frameTwo]);
engine.addScene([frameThree]);

engine.start();
{'fraction_non_alphanumeric': 0.17493297587131368, 'fraction_numerical': 0.010500446827524575, 'mean_word_length': 3.1035747021081574, 'pattern_counts': {'":': 84, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3901241', 'n_tokens_mistral': 1660, 'n_tokens_neox': 1597, 'n_words': 406}