For quite possibly the first time in the blog’s history, I present a non-photographic image. This is the output from my new Triangles script. It creates an image by first drawing three points, and then drawing a line from the third to the first, but going beyond it, then drawing from there to the point two points back, and so on and so forth. With the right settings, the straight lines all sort of dissolve into giant curves.
I wrote the script in PHP, using the GD image library, and the source is also available. The only thing that isn’t variable is the three starting points for the image, so if you want to alter that, you’ll have to download the source and run it on your own server.
In other news, I’m looking for a Summer internship still, and will hopefully land one in the next couple of days. It looked like I was out of the running for a bit, but apparently I impressed their lead programmer, and may get another shot at it. I’ll be crossing my fingers, in any case.
Other than that, it’s been a great lazy Summer so far. I’ve watched far too many episodes of the X Files, and spent way too much time sleeping. But then again, I’m pretty sure that’s what Summer is supposed to be all about, so no problems there. Now to go eat something, and have another lazy movie night with my girlfriend. Hooray for Summer.
Tags: Programming, Summer!, Triangles, X Files