Boids
An interactive simulation of flocking behavior using the Boids algorithm, implemented with p5.js. Explore how simple rules create complex emergent behavior through adjustable alignment, cohesion, and separation controls.
I’m Alexander, a software engineer based in The UK. I’ve spend the last 10 years helping enterprises build modern, fast and reliable software. I mostly focus on Rust 🦀, Zig, Golang, Kotlin, Node.js, Typescript, React and AWS. I’m also a keen musician; playing the piano, guitar and renaissance lute.
An interactive simulation of flocking behavior using the Boids algorithm, implemented with p5.js. Explore how simple rules create complex emergent behavior through adjustable alignment, cohesion, and separation controls.
I recreated the iconic THX "Deep Note" using JavaScript and the Tone.js library. Here's how I did it.
`filter` and `map` are two of the most commonly used array methods in JavaScript. But what if you want to filter and map in one iteration?
Shiki makes use of vscode themes and Astro allows you to easily customise the Shiki config for markdown.