<commit_before>@{
    ViewBag.Title = "photos 3d";
    Layout = "_LayoutMinimal";
}

@section custom_head {
    @await Html.PartialAsync("_css_site")
    <style>
        body { margin: 0; padding: 0; }
        canvas { width: 99%; height: 99% }
    </style>
}

<div id="help" class="modal fade" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">Help</h4>
            </div>
            <div class="modal-body">
                <div class="content">
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">esc</kbd>
                        </div>
                        <div class="col-sm-4">
                            Exit Photo Listing
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">space</kbd>
                        </div>
                        <div class="col-sm-4">
                            Pause Animation
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">&rarr;</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Next
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">&larr;</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Previous
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">b</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Background
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">x</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Axis Helper
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">w</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Forward
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">s</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Backwards
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">a</kbd>
                        </div>
                        <div class="col-sm-4">
                            Strafe Left
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">d</kbd>
                        </div>
                        <div class="col-sm-4">
                            Strafe Right
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">h</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Status Bar
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">p</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Point Lights
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">?</kbd>
                        </div>
                        <div class="col-sm-4">
                            Help
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-12">
                            <p style="margin: 40px 0 0 0;"><strong>Hint:</strong> Hit F11 to enter full screen mode, then hit F11 to exit fullscreen mode.</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button id="helpClose" type="button" class="btn btn-sm btn-primary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

@await Html.PartialAsync("_js_Jquery")

@* http://stemkoski.github.io/Three.js/Shader-Animate.html *@
<script id="waterVertexShader" type="x-shader/x-vertex">
varying vec2 vUv;
void main()
{
    vUv = uv;
    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
}
</script>

<script id="waterFragmentShader" type="x-shader/x-vertex">
uniform sampler2D baseTexture;
uniform float baseSpeed;
uniform sampler2D noiseTexture;
uniform float noiseScale;
uniform float alpha;
uniform float time;

varying vec2 vUv;
void main()
{
	vec2 uvTimeShift = vUv + vec2( -0.7, 1.5 ) * time * baseSpeed;
	vec4 noiseGeneratorTimeShift = texture2D( noiseTexture, uvTimeShift );
	vec2 uvNoiseTimeShift = vUv + noiseScale * vec2( noiseGeneratorTimeShift.r, noiseGeneratorTimeShift.b );
	vec4 baseColor = texture2D( baseTexture, uvNoiseTimeShift );

	baseColor.a = alpha;
	gl_FragColor = baseColor;<commit_msg>jquery is not needed, and partial no longer exists<commit_after>@{
    ViewBag.Title = "photos 3d";
    Layout = "_LayoutMinimal";
}

@section custom_head {
    @await Html.PartialAsync("_css_site")
    <style>
        body { margin: 0; padding: 0; }
        canvas { width: 99%; height: 99% }
    </style>
}

<div id="help" class="modal fade" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">Help</h4>
            </div>
            <div class="modal-body">
                <div class="content">
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">esc</kbd>
                        </div>
                        <div class="col-sm-4">
                            Exit Photo Listing
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">space</kbd>
                        </div>
                        <div class="col-sm-4">
                            Pause Animation
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">&rarr;</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Next
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">&larr;</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Previous
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">b</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Background
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">x</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Axis Helper
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">w</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Forward
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">s</kbd>
                        </div>
                        <div class="col-sm-4">
                            Move Backwards
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">a</kbd>
                        </div>
                        <div class="col-sm-4">
                            Strafe Left
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">d</kbd>
                        </div>
                        <div class="col-sm-4">
                            Strafe Right
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">h</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Status Bar
                        </div>
                        <div class="col-sm-2">
                            <kbd class="pull-right">p</kbd>
                        </div>
                        <div class="col-sm-4">
                            Toggle Point Lights
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <kbd class="pull-right">?</kbd>
                        </div>
                        <div class="col-sm-4">
                            Help
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-12">
                            <p style="margin: 40px 0 0 0;"><strong>Hint:</strong> Hit F11 to enter full screen mode, then hit F11 to exit fullscreen mode.</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button id="helpClose" type="button" class="btn btn-sm btn-primary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

@* http://stemkoski.github.io/Three.js/Shader-Animate.html *@
<script id="waterVertexShader" type="x-shader/x-vertex">
varying vec2 vUv;
void main()
{
    vUv = uv;
    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
}
</script>

<script id="waterFragmentShader" type="x-shader/x-vertex">
uniform sampler2D baseTexture;
uniform float baseSpeed;
uniform sampler2D noiseTexture;
uniform float noiseScale;
uniform float alpha;
uniform float time;

varying vec2 vUv;
void main()
{
	vec2 uvTimeShift = vUv + vec2( -0.7, 1.5 ) * time * baseSpeed;
	vec4 noiseGeneratorTimeShift = texture2D( noiseTexture, uvTimeShift );
	vec2 uvNoiseTimeShift = vUv + noiseScale * vec2( noiseGeneratorTimeShift.r, noiseGeneratorTimeShift.b );
	vec4 baseColor = texture2D( baseTexture, uvNoiseTimeShift );

	baseColor.a = alpha;
	gl_FragColor = baseColor;
{'fraction_non_alphanumeric': 0.12213023811555859, 'fraction_numerical': 0.01126568234189639, 'mean_word_length': 0.890914958851057, 'pattern_counts': {'":': 0, '<': 249, '<?xml version=': 0, '>': 249, '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': '7202014', 'n_tokens_mistral': 3154, 'n_tokens_neox': 2935, 'n_words': 625}