Tech - archive

  • Using LaTeX for Story Structure

    To visualize the plots of my fiction writing I’ve created two LaTeX packages that turns plaintext descriptions into pretty-looking graphical representations.

    ... »
  • Creating an Audio Player Component

    One element of “Transcendence: A Visionary Truth” is an audio clip (generated via speech synthesis). To make it look nicer than the default controls of each browser I created a very basic audio player with just a few lines of Javascript.

    ... »
  • Visual Studio Code Extensions for Writing

    Having delved deeper into the world of (creative) writing during the past year, I had to incorporate some coding into my routine as well (to not got crazy). As I ended up doing all my writing in VSCode, and I’m not the only one (1, 2, 3, etc.), it meant I could create some hopefully useful extensions for fun and profit.

    ... »
  • Transcendence: Behind the scenes

    The “Transcendence” project was an exploration of applying technology to personal data in the form of face portrait images and recorded voice samples. This post describes some of the tech used to build it.

    ... »
  • Preserving current page number with vscode-pdf

    I’m using the VS Code extension vscode-pdf, which under the hood uses PDF.js to render PDF files in a Webview within VS Code. After loading, the extension watches the opened PDF file for changes and if it detects any it reloads the file. This is a great feature, except as reported in a Github issue it causes the PDF view to jump to the top of the file on reload. This is not so great if you’re automatically (re)generating the PDF from for example a Latex document and want to quickly be able to see your changes (which is exactly what I do when editing my fiction writing).

    ... »