The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Alcohol Mist Flamethrower

Alcohol hand sanitizer pump spray
Alcohol hand sanitizer pump spray

Our daughter snagged some tchotchkes from a high-school career fair, including one that she instantly recognized as a flamethrower: Antibacterial Hand Sanitizer Spray, 62% Ethyl Alcohol plus some other junk, in a handy pump-spray container. Heck, it even says

Warnings Flammable. Keep away from open flame. Keep out of reach of children.

I was so proud of her…

Flare3.gif
Flare3.gif

After homework, she stuck a candle atop the garbage can by the garage and fired off a few shots while I ran the camera. Here’s the best one, converted to a low-speed animated GIF.

We’re pretty sure that’s Sweet Babby Jeebus™ in the next-to-last frame of the flare. Maybe Madonna. Could go either way.

Much as with the “movies” I made for trebuchets and tree frogs, I used ffmpeg to shred the camera’s mpg movie into separate jpg images, some bash to select the frames, then convert to stitch them back together into a gif.

The general outline:

mkdir Frames
ffmpeg -i mov04990.mpg -f image2 Frames/frame-%03d.jpg
cd Frames
mkdir flare3
for f in `seq 760 780` ; do cp frame-${f}.jpg flare3 ; done
cd flare3
convert -delay 50 frame-* Flare3.gif

If my bash-fu was stronger, I could feed the proper file names directly into convert without the copy step.

Now, kids, don’t try this at home. At least not without responsible adult supervision…

Comments

One response to “Alcohol Mist Flamethrower”

  1. Neil Hendin Avatar
    Neil Hendin

    Yes, kids do need to be supervised when using ffmpeg, to say nothing of bash :-)

    Keep up the great blog, and have a good Thanksgiving (I am assuming you’re in the US).