Living Code

Living Code is Dethe's blog for talking about code, life, and all the rest.

Black Lives Matter. Defund the police.


On the web: 

Dethe Elza • Mar 20, 2008 • 4 min read

Drawing Hexmaps

The other day, Thomas Guest talked about drawing chessboards, and ended with a challenge. I wanted to answer a different challenge, however. What if, instead of drawing on a rectangular grid, we wanted to draw on a hexagonal grid? The following is my slapdash answer. For real-world use I’d make nice classes and pass more parameters to the methods, but to demonstrate the math I’m just going to use global constants and functions.  Read →

Dethe Elza • Mar 19, 2008 • 2 min read

The 419 Economy

Hello, my name is Sergio Arragones and I am writing to you for assistance in a matter that will be of great economic benefit to us both. My late father was VICE PRESIDENT of the large American investment bankerage of Bear Stearns and he managed to put aside over two billion US dollars of bailout money from the puppet government of Mr. George Bush.  Read →

Dethe Elza • Mar 19, 2008 • 1 min read

Processing Critters

Jittery Generative Creatures in Processing

 Read →