Other articles

  1. Segmented Turning Calculator

    Fri 24 March 2017

    Design segmented bowls for woodturning. Model the entire bowl in 3D. Graphically adjust the profile, segments and colors of each ring. Calculate cut angles and lengths. All from your browser on any operating system. Free and open-source code, no sign-ups required.

    Screenshot

    Features include:

    • Drag and drop drawing of bowl profile …
    read more

    comments

  2. Image Measurement Tool

    Wed 11 February 2015

    This Python program will help determine distances in images with a scale bar, like those taken from a microscope. First, draw a line along the scale bar, enter the distance, then draw other lines.

    Image Measure Tool

    Here it is in action, measuring the distance of a nanowire transistor. Yes, the microscope has …

    read more

    comments

  3. Electrical Schematic Drawing with Python

    Fri 29 August 2014

    Drawing quality electrical schematics is one of those tasks that always takes too long. Most software for the job focuses on fancy circuit simulations and doesn't care about appearance. Constantly facing the dilemma of how to draw simple schematic diagrams, I threw together a little Python package to help out …

    read more

    comments

  4. High-speed liquid photography with Raspberry Pi

    Sun 29 June 2014

    Here's another round of bouncing liquids! These are all high-speed images of liquid being propelled off a speaker blasting sound. A picture of the setup is below. Three components are involved: 1) open camera shutter; 2) start playing sound; and 3) fire the flash. (Step 4 would be close the …

    read more

    comments

  5. Bubble Fractal

    Sun 08 September 2013

    Fractal

    My latest fractal image. Recurrence equation:

    zn+1 = z0 + ( sin(zn-3) + 1)

    Generated using all my own custom software, based on Python, Numpy, and PIL.

    Detail views

    Fractal

    Fractal

    Fractal

    Fractal

    read more

    comments

  6. Landscape drafting symbols in Inkscape

    Thu 01 August 2013

    I've put a lot of perennials in my yard's landscape, and like to keep track of them all in case I want to add or replace any plants. I used to have a sketch on paper, but that's too old fashioned and hard to maintain. I'm also too cheap to …

    read more

    comments

  7. Circuit_macros preview app for Mac OS X

    Sun 28 April 2013

    This is a little python app I wrote up to provide a sort of GUI for the circuit_macros package. Circuit_macros is an excellent way to draw professional-looking electrical circuit diagrams, but it takes a series of steps to compile the code describing a circuit into a finished image. This app …

    read more

    comments

  8. Splashing Photography with Raspberry Pi

    Mon 15 April 2013

    [UPDATE 06-29-2014] This technique has been refined and even better photos are in this post

    These are splash pictures taken using a Raspberry Pi as a controller. These aren't your typical water-dripping-into-a-pool photos, they're actually made by placing a drop of liquid on a speaker and blasting it with sound …

    read more

    comments

  9. Winter storm time lapse

    Sun 24 March 2013

    Time-lapse video of winter storm Virgil on 24 March, 2013.

    Make sure to click-through if you want to see the full-resolution version. The video was made using a Nikon point-n-shoot camera tethered to my laptop, and gphoto2 to capture and download one image every minute. Entire time was about 4 …

    read more

    comments

  10. Matplotlib hatch spacing

    Mon 11 March 2013

    Matplotlib is capable of drawing polygons with a hatched pattern, such as the one below, using the patch function. The key is in the "hatch=" parameter, in this case it is '/' to add diagonal lines. According to the documentation it can also be one of these:

    / \ | - + x o O . *
    

    Add …

    read more

    comments

  11. Randomness

    Sun 10 March 2013

    Here's some fun with random-number generated art. Once again, this grew from experimenting with new techniques in Python, Numpy, and Matplotlib.

    Branch 1

    Burst

    Flower

    G3

    G3

    Gravity

    Walk

    read more

    comments

  12. Circuit_macros vs. circuitikz

    Sat 25 August 2012

    While there's a number of software applications for building circuit diagrams, they tend to focus on running fancy simulations, while the schematics themselves are ugly to look at. So when writing papers (and ECE201 exam problems) where nice looking diagrams are important, something specifically made for quality drawings is required …

    read more

    comments

  13. Fractal Art

    Sun 12 August 2012

    I've been using Python to analyze the majority of my research data, so was very excited when the IPython Notebook was released at the end of last year. Over the last few months, I've been learning how to use the Notebook and transitioning some of my new research data to …

    read more

    comments

  14. Transit of Venus

    Wed 06 June 2012

    Venus made its historic transit across the sun on June 5, 2012. Using binoculars to project the sun's image onto a screen, I was able to get a number of photos of this event!

    Gallery

    We start by projecting the sun through binoculars onto a piece of white posterboard. First …

    read more

    comments

  15. Lissajous Figure Generator

    Tue 28 February 2012

    One of the more difficult concepts for my ECE207 students to understand is that of using the oscilloscope in XY mode to view Lissajous figures. When thinking of a way to demonstrate this idea, I thought of hooking the audio output from a laptop to the scope's channels to play …

    read more

    comments

  16. Paper Clock

    Sat 25 February 2012

    I always need something to keep me busy during the long dark winter evenings after my brain shuts down from a full day of reading technical papers and writing thesis snippets. This year it was building a clock out of paper. It's all in this book, just cut out the …

    read more

    comments

  17. Python interface to x10 firecracker CM17A

    Sun 12 December 2010

    Here's a Python module that will allow you to turn on and off, and brighten/dim lamps or other devices that are plugged into X10-compatible modules, using the CM17A "Firecracker" serial interface. I set up my Christmas lights on them, so now they can be turned on and off via …

    read more

    comments

social