<commit_before>﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Input Test</title>
    <script src="/src/SarEngine2D.js"></script>
    <script src="/src/SarEngine2D.Objects.js"></script>
    <script src="/src/SarEngine2D.GUI.js"></script>
    <script src="/lib/jQuery/jquery.min.js"></script>
    <style>
        #output{
            position:   3eetg  gfixed;
            z-index: 1000;
        }
        #viewGlobal{

        }
        #viewDisplay{
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <div id="output">

    </div>
    <div id="viewGlobal">

    </div>
    <div id="viewDisplay">

    </div>
    <script>
        var engine = SarEngine.createInNode(viewGlobal, 800, 480);
        var scene = engine.scene;
        var display = new Display(viewDisplay, 600, 300);
        var camera = new Camera(0, 0);
        var input = display.getInput();
        var layer = scene.layers[0];
        layer.onEndRender = function ()
        {

        }
        scene.addInput(input);
        scene.addInput(scene.cameraList[0].displayList[0].getInput());
        scene.addCamera(camera);
        display.connectTo(camera);
        engine.start();<commit_msg>test graphics<commit_after>﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Input Test</title>
    <script src="/src/SarEngine2D.js"></script>
    <script src="/src/SarEngine2D.Objects.js"></script>
    <script src="/src/SarEngine2D.GUI.js"></script>
    <script src="/lib/jQuery/jquery.min.js"></script>
    <style>
        #output{
            position:   3eetg  gfixed;
            z-index: 1000;
        }
        #viewGlobal{

        }
        #viewDisplay{
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <div id="output">

    </div>
    <div id="viewGlobal">

    </div>
    <div id="viewDisplay">

    </div>
    <script>
        var engine = SarEngine.createInNode(viewGlobal, 800, 480);
        var scene = engine.scene;
        var display = new Display(viewDisplay, 600, 300);
        var camera = new Camera(0, 0);
        var input = display.getInput();
        var layer = scene.layers[0];
        layer.onEndRender = function (args)
        {
            var graphics = args.graphics;
            graphics.fillStyle = "red";
            graphics.fillRect(0, 0, 10, 10);
        }
        scene.addInput(input);
        scene.addInput(scene.cameraList[0].displayList[0].getInput());
        scene.addCamera(camera);
        display.connectTo(camera);
        engine.start();
{'fraction_non_alphanumeric': 0.15526729559748428, 'fraction_numerical': 0.02437106918238994, 'mean_word_length': 2.0479041916167664, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, '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': '1558351', 'n_tokens_mistral': 868, 'n_tokens_neox': 801, 'n_words': 154}