<commit_before>#includepath "~/Documents/;%USERPROFILE%Documents";
#include "basiljs/bundle/basil.js";

function draw() {

    var selItems = b.selections(); 
    
    var textFrame1 = selItems[0];
    var textFrame2 = selItems[1];    
    
    b.layer("generatedLines"); // generate new lines here
    b.strokeWeight(0.1); // we like hairs
    
    for(var i = 0; i < textFrame1.words.length; i++){

        var w1 = textFrame1.words[i];

        // nested for loop, connect each word with all other words of other textframe
        for(var j = 0; j < textFrame2.words.length; j++){ 

              var w2 = textFrame2.words[j];
          
              b.line(
                  // add half of width and height to make sure the lines are centered
                  b.bounds(w1).left + b.bounds(w1).width / 2, 
                  b.bounds(w1).top + b.bounds(w1).height / 2, 
                  b.bounds(w2).left + b.bounds(w2).width / 2, 
                  b.bounds(w2).top + b.bounds(w2).height / 2
              <commit_msg>tiny change<commit_after>#includepath "~/Documents/;%USERPROFILE%Documents";
#include "basiljs/bundle/basil.js";

function draw() {

    var selItems = b.selections(); 
    
    var textFrame1 = selItems[0];
    var textFrame2 = selItems[1];    
    
    b.layer("generatedLines"); // generate new lines here
    b.strokeWeight(0.3); // we like hairs
    
    for(var i = 0; i < textFrame1.words.length; i++){

        var w1 = textFrame1.words[i];

        // nested for loop, connect each word with all other words of other textframe
        for(var j = 0; j < textFrame2.words.length; j++){ 

              var w2 = textFrame2.words[j];
          
              b.line(
                  // add half of width and height to make sure the lines are centered
                  b.bounds(w1).left + b.bounds(w1).width / 2, 
                  b.bounds(w1).top + b.bounds(w1).height / 2, 
                  b.bounds(w2).left + b.bounds(w2).width / 2, 
                  b.bounds(w2).top + b.bounds(w2).height / 2
              
{'fraction_non_alphanumeric': 0.1298828125, 'fraction_numerical': 0.025390625, 'mean_word_length': 1.783967391304348, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4674588', 'n_tokens_mistral': 682, 'n_tokens_neox': 637, 'n_words': 163}