<commit_before><html>
<head>
    <title>Example 05</title>

    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="<KEY>" crossorigin="anonymous">

    <!-- Optional theme -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="<KEY>" crossorigin="anonymous">

    <script src="https://aframe.io/releases/0.5.0/aframe.js"></script>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

    <script src="https://unpkg.com/aframe-animation-component@^3.2.0/dist/aframe-animation-component.min.js"></script>

    <script src="https://cdn.rawgit.com/donmccurdy/aframe-physics-system/v1.2.1/dist/aframe-physics-system.min.js"></script>

    <!--<script src="https://cdn.rawgit.com/donmccurdy/aframe-extras/v3.2.7/dist/aframe-extras.min.js"></script>-->

    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="<KEY>" crossorigin="anonymous"></script>

    <script src="assets/js/lib/gamepad.min.js"></script>

    <script src="assets/js/lib/three/examples/loaders/collada/Animation.js"></script>
    <script src="assets/js/lib/three/examples/loaders/collada/AnimationHandler.js"></script>
    <script src="assets/js/lib/three/examples/loaders/collada/KeyFrameAnimation.js"></script>

    <script src="assets/js/components/collada-animation-mixer.js"></script>
    <script src="assets/js/components/custom-kinematic-body.js"></script>
    <script src="assets/js/components/entity-movement-controls-gamepad2.js"></script>

    <script src="assets/js/main.js"></script>

</head>
<body>

<a-scene main physics="debug: false; gravity: -9.8; friction: 0.1; restitution: 0.5;">


        <a-entity position="0 0.6 -4" id="cactus"

                custom-kinematic-body="height:0.5; radius: 0.5; enableSlopes: false;"
                entity-movement-controls-gamepad2
                  >
            <a-entity collada-animation-mixer="autoplay: true; loop: false;"
                      collada-model="src: url(assets/dae/cactus/cactus-walk.dae)" rotation="90 0 0" position="0 -0.6 0" scale="0.1 0.1 0.1"></a-entity>
        </a-entity>

    <!-- Immovable box -->
    <a-box static-body position="0 0.5 -5" width="5" height="1" depth="1" color="#FFC65D"></a-box>

    <!-- Dynamic box -->
    <a-box dynamic-body position="4 1 -3" width="1" height="1" depth="1" color="#4CC3D9"></a-box>

    <a-plane static-body position="0 0 -4" rotation="-90 0 0" width="10" height="10" color="#7BC8A4"></a-plane>
    <a-sky color="#ECECEC"></a-sky>
</a-scene>

<div id="instructions-modal" class="modal fade" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">How To Play</h4>
            </div>
            <div class="modal-body">
                <strong>Keyboard</strong>
                <ul class="list-group">
                    <li class="list-group-item">Move character forward <span class="badge">I</span></li>
                    <li class="list-group-item">Move character backward <span class="badge">K</span></li>
                    <li class="list-group-item">Character rotation <span class="badge">J</span> <span class="badge">L</span></li><commit_msg>Updated notes on example 5<commit_after><html>
<head>
    <title>Example 05</title>

    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="<KEY>" crossorigin="anonymous">

    <!-- Optional theme -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="<KEY>" crossorigin="anonymous">

    <script src="https://aframe.io/releases/0.5.0/aframe.js"></script>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

    <script src="https://unpkg.com/aframe-animation-component@^3.2.0/dist/aframe-animation-component.min.js"></script>

    <script src="https://cdn.rawgit.com/donmccurdy/aframe-physics-system/v1.2.1/dist/aframe-physics-system.min.js"></script>

    <!--<script src="https://cdn.rawgit.com/donmccurdy/aframe-extras/v3.2.7/dist/aframe-extras.min.js"></script>-->

    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="<KEY>" crossorigin="anonymous"></script>

    <script src="assets/js/lib/gamepad.min.js"></script>

    <script src="assets/js/lib/three/examples/loaders/collada/Animation.js"></script>
    <script src="assets/js/lib/three/examples/loaders/collada/AnimationHandler.js"></script>
    <script src="assets/js/lib/three/examples/loaders/collada/KeyFrameAnimation.js"></script>

    <script src="assets/js/components/collada-animation-mixer.js"></script>
    <script src="assets/js/components/custom-kinematic-body.js"></script>
    <script src="assets/js/components/entity-movement-controls-gamepad2.js"></script>

    <script src="assets/js/main.js"></script>

</head>
<body>

<a-scene main physics="debug: false; gravity: -9.8; friction: 0.1; restitution: 0.5;">


        <a-entity position="0 0.6 -4" id="cactus"

                custom-kinematic-body="height:0.5; radius: 0.5; enableSlopes: false;"
                entity-movement-controls-gamepad2
                  >

            <!-- investigate adding donmccurdy's animation-mixer component that will support loading fbx-animations exported from mixamo as individual files -->
            <!-- https://github.com/donmccurdy/aframe-extras/tree/master/src/loaders -->

            <a-entity collada-animation-mixer="autoplay: true; loop: false;"
                      collada-model="src: url(assets/dae/cactus/cactus-walk.dae)" rotation="90 0 0" position="0 -0.6 0" scale="0.1 0.1 0.1"></a-entity>
        </a-entity>

    <!-- Immovable box -->
    <a-box static-body position="0 0.5 -5" width="5" height="1" depth="1" color="#FFC65D"></a-box>

    <!-- Dynamic box -->
    <a-box dynamic-body position="4 1 -3" width="1" height="1" depth="1" color="#4CC3D9"></a-box>

    <a-plane static-body position="0 0 -4" rotation="-90 0 0" width="10" height="10" color="#7BC8A4"></a-plane>
    <a-sky color="#ECECEC"></a-sky>
</a-scene>

<div id="instructions-modal" class="modal fade" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">How To Play</h4>
            </div>
            <div class="modal-body">
                <strong>Keyboard</strong>
                <ul class="list-group">
                    <li class="list-group-item">Move character forward <span class="badge">I</span></li>
                    <li class="list-group-item">Move character backward <span class="badge">K</span></li>
                    <li class="list-group-item">Character rotation <span class="badge">J</span> <span class="badge">L</span></li>
{'fraction_non_alphanumeric': 0.19523360710919618, 'fraction_numerical': 0.024909115389793995, 'mean_word_length': 3.1824324324324325, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, 'https://': 17, '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': '6117567', 'n_tokens_mistral': 2580, 'n_tokens_neox': 2428, 'n_words': 370}