Rocket-cam

My dad got a cheap digital video camera that was billed as a “spy cam” a while back. The intent for it was to use the small size of it to capture interesting videos, and the fact that it cost under $20 meant that we weren’t too concerned with destroying it in the process. Over the summer we hung it from a kite and got some interesting footage, but the plan from the start was to launch it on a rocket in the backyard. Unfortunately, it was windy the entire time I was visiting my parents in the summer, so it took us till now to try it.

This was our third launch of the rocket with the camera attached and the first time we got video from it. Thanks to the battery in the launcher being low and not having any replacements it took a while to get it to launch the first time, so by the time it finally launched the battery in the spy cam was dead (did I mention the camera was cheap?). This engine wasn’t expected to be too impressive (the instructions with the rocket suggested the next size up for the first launch), especially with the added weight of the camera on the side, but the video didn’t turn out too poorly.

The sound is consistently out of sync with the video in all of the launches we’ve gotten so far, I’ve never been able to set the time, and the rocket isn’t overly steady (it spins a lot in the higher shots), but the fact that we’re able to do this is awesome. Thankfully, we haven’t hit a cow yet (haven’t decided how I’m going to edit that video, will probably leave the part with the herd of cows in), so we can keep trying it.

For reference:
rocket: Code Red
engine: A8-3
camera: Lighter cam

Mandelbrot Zoomer

Back in college I wrote a handful of applets that drew fractals. The last one I did was the mandelbrot set, but it didn’t have the performance I wanted and I didn’t work on it much.

A few days ago I got to thinking about it again, and figured I’d try optimizing it since I’ve been doing a lot of concurrent and parallel programming at work and I figured at worst I could just make it multi-threaded. There’s still room for improvement, but I got a basic interface down and a level based drawing pattern that does remarkably well with only two threads (one refreshing the image at ~60 fps and running the interface, the other doing the calculation):

Holding the left mouse button on a point in the applet zooms in, the right button zooms out, and the ‘r’ key resets the view.

Daylight savings

I forgot how miserable Colorado can be in the winter. I don’t know what time it got dark, but I stood up at 6 (was still at work) and it was pitch black outside. It was also cold and windy (but not snowing/raining like was predicted) as I discovered when I went out to my car. I barely had a long enough drive for my car to heat up to the point that the heater started doing anything.

At least I still have good hot chocolate mix (the home-made stuff). I may have burnt myself on the cup, but my hands are warm now.