You are here

CNC Part 10

images: 
This oak motor mount corrects for the difference between metric extrusions in the base and standard bearing blocks and acme nut. Controller and motors on the way.
category: 

Window Boxes 2011

images: 


category: 

Connect Android to Drupal’s JSON Server Module

images: 

The Android SDK comes with a SampleSyncAdapter project for implementing a synced connection to a cloud-type service. The class NetworkUtilities takes care of making the actual HTTP requests, and generally has to be tailored to work with a particular cloud service (apart from the sample server app included with the SDK).

Here is a base class that handles the session-based authentication for Drupal’s JSON Server module. Extend this class to implement the calls for a particular service model via Drupal / JSON Server.

category: 

Pendulum Physics and Code

images: 

Sometimes it's nice to forget about 3rd party components, big clunky libraries, the Facebook API, etc. and just simulate a simple physical system from first principles. Here's "mass on a string":

Count Buffon's Needle

images: 

There is an interesting way to calculate PI with random probability called Count Buffon's Needle. The way it's done is to draw parallel lines on a large sheet of paper that are equidistant from each other. Then one would drop needles of exactly that length (the distance between lines) and count both the overall number of needles and the number of needles that intersect the lines on the paper after they settle. The probability of a needle intersecting a line works out to be 2/π.

Granular Synthesis in Flash

images: 

An upcoming clie

category: 

Visit Nunavut

images: 
category: 

Florida Trip

images: 

Last week I took a fun last-minute trip to watch the last launch of space shuttle Atlantis. On the plane, I sat next to super-nice-guy, marine biologist, and real-life treasure hunter Ken Hayes. He has astronauts for friends and had a VIP pass to Kennedy Space Center! He's interested in storytelling and shared several fascinating ones on the flight from Philly down to Orlando.

Mandelbrot 2009

images: 

Back in the days of i386 processors, long distance dialup connections and 5.25" floppy drives, I spent a lot of time with a program called FractInt. You could pick an algorithm, set up the location, zoom level and color palette and then wait minutes, hours or days for it to calculate a TOTALLY AWESOME image.

Box2D Planetary Gear Set

images: 

All the Box2D documentation says to use the automatic gear joint and not to mess with simulating gears this way ...so it had to be done! A little trigonometry and fidgeting with sizes produced this simple planetary set:

Pages