<commit_before>Cyclone Javascript Physics Engine

A manual port of the Cyclone Physics Engine (http://procyclone.com/) from C++ to JavaScript

Usage:

        // initial setup
        elation.physics.system.start();

        var smallball = new elation.physics.rigidbody({ mass: 1, position: new THREE.Vector3(0, 0, 1) }) );
        smallball.setCollider("sphere", 2);
        elation.physics.system.add(smallball);

        var bigball = new elation.physics.rigidbody({ mass: 10, position: new THREE.Vector3(1, 0, 0) }) );
        bigball.setCollider("sphere", 5);
        elation.physics.system.add(bigball);

        // render loop
        var lasttime = Date.now();
        requestAnimationFrame(stepfunc);

        function stepfunc(t) {
          elation.physics.system.iterate(t - lasttime);
          renderer.render();
          lasttime = t;<commit_msg>readme update<commit_after>Cyclone Javascript Physics Engine

A manual port of the Cyclone Physics Engine (http://procyclone.com/) from C++ to JavaScript

Usage:

        // initial setup
        elation.physics.system.start();

        var smallball = new elation.physics.rigidbody({ mass: 1, position: new THREE.Vector3(0, 0, 1) }) );
        smallball.setCollider("sphere", 2);
        elation.physics.system.add(smallball);

        var bigball = new elation.physics.rigidbody({ mass: 10, position: new THREE.Vector3(1, 0, 0) }) );
        bigball.setCollider("sphere", 5);
        elation.physics.system.add(bigball);

        // render loop
        var lasttime = Date.now();
        requestAnimationFrame(stepfunc);

        function stepfunc(t) {
          elation.physics.system.iterate(t - lasttime);
          renderer.render();
          lasttime = t;
          requestAnimationFrame(stepfunc);
{'fraction_non_alphanumeric': 0.12266817410966648, 'fraction_numerical': 0.014697569248162803, 'mean_word_length': 2.6344969199178645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2692469', 'n_tokens_mistral': 566, 'n_tokens_neox': 516, 'n_words': 125}