I’ve failed before, at many things, and it is a habit I can’t seem to break. It’s inevitable that things won’t work (especially not the first time) and in fact programmers know that it’s a beautiful thing when code compiles the first time, let alone works correctly the first time.
With graphics, the results are sometimes cool, sometimes horrifying and sometimes beautiful. I make a habit of documenting the results of broken code as much as I can, and after a recent one, I thought I’d share some of the more interesting ones.
- My most recent muck-up, using a geometry shader to implement marching squares. It reminds me of an Andy Goldsworthy piece. Also, birds.
- At the right zoom, this so-called isocurve appears as a butterfly
- There appears to be some sort of cellular structure here
- At any other zoom level, these apparent curves are invisible.
- This reminds me of the underwater fern in the Aquanauts
- You should see this animating at 10k frames per second. If only they had this in the seventies – forget the lava lamp.
- Some confusion with vector field implementations.
- A breakdown in identifying cases in marching squares.
- It’s like the Stanford bunny is half-trapped in an 8-bit world.
- The Stanford bunny looks sort of demonic here to me.
- I never actually quite solved this one, but it was supposed to draw Voronoi diagrams.
- Refraction was broken in my ray tracer for a while.
- Is it there? Is it not? Nobody knows!
- The old disappearing lathe trick.













