Certainly - you can look at the source for the p5.js port here, which is basically a line-by-line port of the original processing3 simulation: https://github.com/oxling/p5js_ants
The other parts, the rasterization and vectorization, I haven't cleaned up to the point where the source isn't terribly embarrassing! One of the weird things about this project was the code became more of a means to an end than an artifact in itself, so it's littered with a lot of dead experiments, swear words, and so on.