<commit_before>import QtQuick 2.0
import QtGraphicalEffects 1.0

Rectangle {
  id : canvas
  anchors.fill: parent
  color: "black"
  
  // CREATE STARFIELD
  Repeater {
      model: Math.round(Math.random()*canvas.width/10)+500
     Rectangle {
       parent: canvas
       x: Math.round(Math.random()*canvas.width)
       y: Math.round(Math.random()*canvas.height)
       width: Math.round(Math.random()*3)+3
       height: width
       radius: width/2
       color: "white"
     }
  }  //end of Repeater

  // NOW CREATE THE WARP EFFECT
  ZoomBlur {
    id: blur
    anchors.fill: canvas
    source: canvas
    samples: 24<commit_msg>Add some color to the "Warp" starfield.<commit_after>import QtQuick 2.0
import QtGraphicalEffects 1.0

Rectangle {
  id : canvas
  anchors.fill: parent
  color: "black"

  function getStarColor(num){
    if(num < 0.5) { return "white" }
    if(num < 1.5) { return "mistyrose" }
    return "lightblue"
  }  

  // CREATE STARFIELD
  Repeater {
      model: Math.round(Math.random()*canvas.width/10)+500
     Rectangle {
       parent: canvas
       x: Math.round(Math.random()*canvas.width)
       y: Math.round(Math.random()*canvas.height)
       width: Math.round(Math.random()*3)+3
       height: width
       radius: width/2
       color: getStarColor( (index%3) )

     }
  }  //end of Repeater

  // NOW CREATE THE WARP EFFECT
  ZoomBlur {
    id: blur
    anchors.fill: canvas
    source: canvas
    samples: 24
{'fraction_non_alphanumeric': 0.11975223675154852, 'fraction_numerical': 0.022711631108052306, 'mean_word_length': 2.486810551558753, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1467313', 'n_tokens_mistral': 534, 'n_tokens_neox': 503, 'n_words': 118}