samwho / visualisations

Code behind my visualisation blog posts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualisation Code

This repository contains the source code behind my visualisation blog posts.

In the case of load-balancing and memory-allocation the code is vanilla JavaScript that I include into pages with a simple <script> tag. It may depend on other libraries that are also included into the page, and may be difficult to run. I recommend looking at the HTML source of those posts to figure out how to run it, if that's your goal.

For hashing and retries I began using Bun to build my code, as it's in TypeScript, is better modularised, and depends on packages from NPM. This code should be building with bun install && bun run build in both cases. The output will be put into an out/ directory and including that in a page will give you access to the custom HTML elements I use throughout those posts.

Feel free to reach out if you have any questions about the code, and thanks for showing an interest in my work!

About

Code behind my visualisation blog posts

License:MIT License


Languages

Language:JavaScript 54.9%Language:TypeScript 45.1%