Back to Silas S. Brown's home page

Typescript player for HTML5

I wrote this to make an in-browser demonstration of Primer Pooler. It uses code from DOStoy to display a typescript in an HTML5 canvas.



Download: (License: MIT)


  1. On a GNU/Linux terminal, do script -t log2 2>log1 and record as appropriate
  2. Do python >demo.js
  3. Optionally edit the resulting demo.js file if you want to 'airbrush' your mistakes
  4. In your HTML, put:
    <span id="DOStoyPlace"></span><script src="demo.js"></script>
  5. Test

All material © Silas S. Brown unless otherwise stated.