1. ## Raindrops keep falling on my Delauney-triangulated polygon mesh

If you’re not familiar with numerically solving differential equations via finite differencing, it essential involves taking the infinitesimal quantity $$\delta$$ in an equation, and replacing it with a finite quantity Δ, then solving this equation algebraically. Go look on Wiki.

Anyway, the other day I woke up in a …

Tagged as : Python Simulation
2. ## Can you fingerprint a sausage?

About a year ago I helped out teaching a first-year undergrad course on programming. One of the projects they could try was an interesting algorithm for generating patterns. The idea is that you have a set of fixed points in space, $${r_j}$$, and you have a moveable point, \(x(i …

Tagged as : Geometry Maths Python
3. ## Voronoi diagram for a range of distance metrics

I’ve been reading about Voronoi diagrams recently, they seem pretty interesting. If you have a set of points, the Voronoi diagram of those points is made by colouring regions of space according to which point in the set is nearest (see the link for some example images).

Then I …

Tagged as : Python Maths Geometry
4. ## Saving a git commit hash to keep track of what code made what data

I have a sizeable chunk of python code that I use to run some simulations, that produce various bits of data that I dump into a directory. Since the code is reasonably complicated and I’m constantly fiddling with it, it seemed worth having a way to keep track of …

Tagged as : Python Git

Page 1 / 1