title: Changing matrix output text to cyrillic unicode script
body: <p>I am currently using this Matrix script in a project, what I want to do is to convert the character output so that it prints out cyrillic characters rather than chinese characters:</p>
  
  <pre><code>      var s = window.screen;
             var width = q.width = s.width;
             var height = q.height = s.height / 6;
             var letters = Array(256).join(1).split('');
  
             var draw = function () {
               q.getContext('2d').fillStyle='rgba(0,0,0,.05)';
               q.getContext('2d').fillRect(0,0,width,height);
               q.getContext('2d').fillStyle="FF0000";
               letters.map(function(y_pos, index){
                 text = String.fromCharCode(3e4+Math.random()*33);
                 x_pos = index * 10;
                 q.getContext('2d').fillText(text, x_pos, y_pos);
                 letters[index] = (y_pos &gt; 768 + Math.random() * 1e4) ? 0 : y_pos + 10;
               });
             };
             setInterval(draw, 33);
  </code></pre>
  
  <p>From what I can gather these two lines of code are responsible for printing the characters out to screen:</p>
  
  <pre><code>           var letters = Array(256).join(1).split('');
  
  
                 text = String.fromCharCode(3e4+Math.random()*33);
  </code></pre>
  
  <p>However this is where I get stuck, it seems it is printing out from a random maths operation. I don't understand the process for changing this and telling it to instead print out the unicode range for the cyrillic script.</p>
  
  <p>Any help would be great, hope I've been clear enough.</p>
  
  <p>EDIT:</p>
  
  <p>I've just been playing about with it and made some sort of progress. The cyrillic alphabet's unicode range runs from '0410' to '042F' - so I edited </p>
  
  <pre><code>    text = String.fromCharCode(3e4+Math.random()*33);
  </code></pre>
  
  <p>And rewrote it as
           text = String.fromCharCode(0410, 0411, 0412, 0413, 0414);</p>
  
  <p>This code works but it prints all 5 of the characters at once and ruins the matrix code in the process. What I need to do I think is to get it to print single characters from a defined range this though I feel is currently above my level of understanding.</p>