Typescript player for HTML5

(This is about Unix typescript, not the more recent programming language called TypeScript)

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.

Advantages:

Disadvantages:

Download: script2canvas.py (License: MIT)

=> script2canvas.py

Usage:

  1. On a GNU/Linux terminal, do script -t log2 2>log1 and record as appropriate

  1. Do python script2canvas.py >demo.js

  1. Optionally edit the resulting demo.js file if you want to ‘airbrush’ your mistakes

  1. In your HTML, put:

  1. Test

Legal

All material © Silas S. Brown unless otherwise stated. Javascript is a trademark of Oracle Corporation in the US. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Unix is a trademark of The Open Group. Any other trademarks I mentioned without realising are trademarks of their respective holders.

Proxy Information
Original URL
gemini://tilde.pink/~ssb22/script2canvas.gmi
Status Code
Success (20)
Meta
text/gemini;
Capsule Response Time
7.561403 milliseconds
Gemini-to-HTML Time
0.647773 milliseconds

This content has been proxied by September (3851b).