Source for Random Bits, a personal science blog.
There's no fixed topic or scope beyond STEM — posts cover whatever random thought or curiosity comes to mind (physics, math, chemistry, etc.), often with some interactive visualization or small simulation attached.
- Built with Hugo using the PaperMod theme.
- Posts live under
content/posts/. - Interactive figures/demos are plain JS in
static/js/. - JavaScript is linted with oxlint and formatted with oxfmt.
The pyproject.toml is unrelated to the site itself; it's just a scratch environment used to generate some figures for the posts.
npm install
npm run build:numerics-js
npm run lint
npm run format:check
hugo serverRun npm run format to format the authored JavaScript and package.json.
Node.js 22 or later is required. After changing the pinned numerics-js dependency,
run npm run build:numerics-js and commit the updated browser modules in
static/js/numerics-js/. These modules are tracked so Hugo can also run without npm.