<commit_before><html>
<head>

<title> <NAME> ~ Chaos Game </title>
</head>

<canvas style = "text-align: center; background-color: white; border:1px solid black;"height = "400" width = "400"  id = "myCanvas">Your browser hates modernity, most notably HTML5 and the wonderful canvas tag. Shame on you. </canvas>
<script type = "text/javascript">
var canvas = document.getElementById('myCanvas');
var c = canvas.getContext('2d');
canvas.addEventListener('click', begin, false);
var points = [
  [0,400],
  [200,0],
  [400,400],
]

var lastpoint = [0,0];

var fname = 0;
function setfname(how){
  fname+= how;
  document.GetElementById("#iter").value = fname;
}
function begin(e)
{
  if(lastpoint[0] == 0){
     var rect = canvas.getBoundingClientRect();
     var initialx = e.clientX - rect.left;
     var initaly = e.clientY - rect.top;
     drawPoint(initialx, initaly,1000);
   }
   else {
     drawPoint(lastpoint[0],lastpoint[1],1000)
   }
}
function drawTriangle(){
  c.beginPath();
  c.moveTo(0,400);
  c.lineTo(200,0);
  c.lineTo(400,400);
  c.lineTo(0,400);
  c.stroke();
}

function drawPoint(x, y, iii){
  if(iii === 0)
  {
     lastpoint = [x,y];
     return 1;
  }
  c.fillRect(x,y,1,1);
  var vtx = Math.floor(Math.random() * 3);
  window.setTimeout(drawPoint((points[vtx][0]+x)/2,(points[vtx][1]+y)/2,iii-1),1);
}

</script>

</body>
</html><commit_msg>moved chaos game code to sierp.js<commit_after><html>
<head>

<title> <NAME> ~ Chaos Game </title>
</head>

<canvas style = "text-align: center; background-color: white; border:1px solid black;"height = "400" width = "400"  id = "myCanvas">Your browser hates modernity, most notably HTML5 and the wonderful canvas tag. Shame on you. </canvas>
<script type = "text/javascript" src="sierp.js">

</script>

</body>
</html>
{'fraction_non_alphanumeric': 0.1803921568627451, 'fraction_numerical': 0.04201680672268908, 'mean_word_length': 4.222222222222222, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '4773164', 'n_tokens_mistral': 703, 'n_tokens_neox': 661, 'n_words': 160}