<commit_before><!doctype html>
<html>
<head>
    <script src="/vendor/jquery-1.10.2.min.js"></script>
    <script src="/vendor/dat.gui.min.js"></script>
    <script src="/vendor/ace/ace.js"></script>
    <script src="/vendor/jszip.min.js"></script>
    <script src="/vendor/js-unzip.min.js"></script>
    <script src="/vendor/js-inflate.min.js"></script>
    <script src="/vendor/Filesaver.js"></script>
    <link href="/css/style.css" rel="stylesheet" type="text/css">
    <title>SDSL</title>
</head>
<body>
    <script src="/vendor/three.min.js"></script>
    <script src="/vendor/OrbitControls.js"></script>
    <script src="/vendor/dat.gui.min.js"></script>
    <script src="/assets/application.js"></script>

    <a href="#" id="downloadlink"></a>

    <div class="toolbar">
        <span class="logo">SDSL</span>
        <span class="run button" id="runButton">RUN</span>
        <span class="inspect button">I</span>
        <span class="save button">S</span>
    </div>
    <div class="renderContainer" id="canvasContainer">

    </div>
    <div class="editorContainer">
        <ul class="accordion" id="editors">
            <li>
                <small>ARRANGEMENT</small>
                <div class="editor" id="arrangementView">
                    <dl>
                        <dt>Template</dt>
                        <dd><select id="arrangementType">
                            <optgroup label="Fixed">
                                <option value="fxRect" selected="selected">Rectangle</option>
                                <option value="fxCircle">Circle</option>
                                <!-- option value="fxSphere">Sphere</option -->
                            </optgroup>
                            <optgroup label="Dynamic">
                                <option value="dnSocket">Websocket</option>
                            </optgroup>
                        </select> </dd>
                    </dl>
                    <dl id="fxRectOptions" class="arrangementOptions">
                        <dt>Width</dt><dd><input type="number" id="fxRectWidth" min="1" max="32" value="16" /></dd>
                        <dt>Height</dt><dd><input type="number" id="fxRectHeight" min="1" max="32" value="16" /></dd>
                        <dt>Spacing</dt><dd><input type="number" id="fxRectSpacing" min="0" max="100" value="20" /></dd>
                    </dl>
                    <dl id="fxCircleOptions" class="arrangementOptions hidden">
                        <dt>Radius</dt><dd><input type="number" id="fxCircleRadius" min="1" max="16" value="8" /></dd>
                        <dt>Spacing</dt><dd><input type="number" id="fxCircleSpacing" min="0" max="100" value="20" /></dd>
                    </dl>
                    <!-- dl id="fxSphereOptions" class="arrangementOptions hidden">
                        <dt>Radius</dt><dd><input type="number" id="fxSphereRadius" min="1" max="16" value="8" /></dd>
                        <dt>Spacing</dt><dd><input type="number" id="fxSphereSpacing" min="0" max="100" value="20" /></dd>
                    </dl -->
                    <dl id="dnSocketOptions" class="arrangementOptions hidden">
                        <dt>URL</dt><dd><input type="url" id="dnSocketURL" /></dd>
                    </dl>
                    <input type="button" id="arrangementApply" value="Apply" />
                </div>
            </li>
            <li>
                <small>GEOMETRY</small><input type="checkbox" id="useGeometryShader">
                <div class="editor" id="geometryShader">void main() {
    sd_FragCoord = iFragCoord;
    sd_FragNormal = iFragNormal;
}
</div>
            </li>
            <li class="active">
                <small>FRAGMENT</small>
                <div class="editor" id="fragmentShader">uniform float height;
uniform float angle;
uniform sampler3D camera;
void main() {
    sd_FragHeight = height;
    sd_FragAngle  = angle;
}
</div>
            </li>
            <li>
                <small>PXEL</small><input type="checkbox" id="usePixelShader">
                <div class="editor" id="pixelShader">uniform float red;
uniform float green;
uniform float blue;

void main() {
    sd_PixelColor = vec4(red, green, blue, 1.0);
}</div>
            </li>
        </ul>
    </div>

    <div id="rt_errorbox" class="box">
        <div class="text"></div>
    </div>
    <div id="rt_inspector" class="box">
        <div class="close">X</div>
        <div class="text">
            <table>
                <tr>
                    <td class="name">iFragCoord</td>
                    <td class="value">x=1 y=29 z=10</td>
                </tr>
                <tr>
                    <td class="name">iFragCoord</td><commit_msg>Updated the shader editor names<commit_after><!doctype html>
<html>
<head>
    <script src="/vendor/jquery-1.10.2.min.js"></script>
    <script src="/vendor/dat.gui.min.js"></script>
    <script src="/vendor/ace/ace.js"></script>
    <script src="/vendor/jszip.min.js"></script>
    <script src="/vendor/js-unzip.min.js"></script>
    <script src="/vendor/js-inflate.min.js"></script>
    <script src="/vendor/Filesaver.js"></script>
    <link href="/css/style.css" rel="stylesheet" type="text/css">
    <title>SDSL</title>
</head>
<body>
    <script src="/vendor/three.min.js"></script>
    <script src="/vendor/OrbitControls.js"></script>
    <script src="/vendor/dat.gui.min.js"></script>
    <script src="/assets/application.js"></script>

    <a href="#" id="downloadlink"></a>

    <div class="toolbar">
        <span class="logo">SDSL</span>
        <span class="run button" id="runButton">RUN</span>
        <span class="inspect button">I</span>
        <span class="save button">S</span>
    </div>
    <div class="renderContainer" id="canvasContainer">

    </div>
    <div class="editorContainer">
        <ul class="accordion" id="editors">
            <li>
                <small>ACTUATORS</small>
                <div class="editor" id="arrangementView">
                    <dl>
                        <dt>Template</dt>
                        <dd><select id="arrangementType">
                            <optgroup label="Fixed">
                                <option value="fxRect" selected="selected">Rectangle</option>
                                <option value="fxCircle">Circle</option>
                                <!-- option value="fxSphere">Sphere</option -->
                            </optgroup>
                            <optgroup label="Dynamic">
                                <option value="dnSocket">Websocket</option>
                            </optgroup>
                        </select> </dd>
                    </dl>
                    <dl id="fxRectOptions" class="arrangementOptions">
                        <dt>Width</dt><dd><input type="number" id="fxRectWidth" min="1" max="32" value="16" /></dd>
                        <dt>Height</dt><dd><input type="number" id="fxRectHeight" min="1" max="32" value="16" /></dd>
                        <dt>Spacing</dt><dd><input type="number" id="fxRectSpacing" min="0" max="100" value="20" /></dd>
                    </dl>
                    <dl id="fxCircleOptions" class="arrangementOptions hidden">
                        <dt>Radius</dt><dd><input type="number" id="fxCircleRadius" min="1" max="16" value="8" /></dd>
                        <dt>Spacing</dt><dd><input type="number" id="fxCircleSpacing" min="0" max="100" value="20" /></dd>
                    </dl>
                    <!-- dl id="fxSphereOptions" class="arrangementOptions hidden">
                        <dt>Radius</dt><dd><input type="number" id="fxSphereRadius" min="1" max="16" value="8" /></dd>
                        <dt>Spacing</dt><dd><input type="number" id="fxSphereSpacing" min="0" max="100" value="20" /></dd>
                    </dl -->
                    <dl id="dnSocketOptions" class="arrangementOptions hidden">
                        <dt>URL</dt><dd><input type="url" id="dnSocketURL" /></dd>
                    </dl>
                    <input type="button" id="arrangementApply" value="Apply" />
                </div>
            </li>
            <li>
                <small>ARRANGEMENT</small><input type="checkbox" id="useGeometryShader">
                <div class="editor" id="geometryShader">void main() {
    sd_FragCoord = iFragCoord;
    sd_FragNormal = iFragNormal;
}
</div>
            </li>
            <li class="active">
                <small>ACTUATION</small>
                <div class="editor" id="fragmentShader">uniform float height;
uniform float angle;
uniform sampler3D camera;
void main() {
    sd_FragHeight = height;
    sd_FragAngle  = angle;
}
</div>
            </li>
            <li>
                <small>PIXEL</small><input type="checkbox" id="usePixelShader">
                <div class="editor" id="pixelShader">uniform float red;
uniform float green;
uniform float blue;

void main() {
    sd_PixelColor = vec4(red, green, blue, 1.0);
}</div>
            </li>
        </ul>
    </div>

    <div id="rt_errorbox" class="box">
        <div class="text"></div>
    </div>
    <div id="rt_inspector" class="box">
        <div class="close">X</div>
        <div class="text">
            <table>
                <tr>
                    <td class="name">iFragCoord</td>
                    <td class="value">x=1 y=29 z=10</td>
                </tr>
                <tr>
                    <td class="name">iFragCoord</td>
{'fraction_non_alphanumeric': 0.1737113945398967, 'fraction_numerical': 0.010329925160746285, 'mean_word_length': 1.8179388179388178, 'pattern_counts': {'":': 0, '<': 325, '<?xml version=': 0, '>': 325, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6791722', 'n_tokens_mistral': 2899, 'n_tokens_neox': 2741, 'n_words': 507}