My Coffee Table is a Robot – The Sand Plotter

Apparently I didn’t write this one up already. Here’s a build from a couple of years ago:


It’s a coffee table with a bed of sand, and underneath is a CNC plaform and a powerful magnet to drag around a stylus and make patterns.

The hardware is pretty straight forward. I bought a coffee table from Ikea and mounted a wooden frame underneath:


Then mounted the CNC gantry under that: IMG_7311.JPG

I spent a while troubleshooting the motion. Nick and I both made tables previously, and the secret seemed to be having a soft base underneath the sand, and also using a cylindrical disc magnet rather than a ball.


Spherical magnet made the pattern on the left, and a disc magnet mad the circles on the right

This is to minimize the amount of ‘uphill’ work the magnet has to do. A cylinder is just dragged through the sand horzontally, whereas a sphere tends to jump and skitter irregularly, which is bad for both the smoothness of the pattern, and how pleasing the sound is to hear.

Coffee Table v01.JPG

It has a glass top, but we removed it some of the photos.

Here’s it in the Powerhouse Museum, briefly brought in for a photoshoot before Maker Faire a couple of years ago. That’s right, something I made belongs in a museum 😀


This entry was posted in Uncategorized. Bookmark the permalink.

4 Responses to My Coffee Table is a Robot – The Sand Plotter

  1. Dushyant says:

    Can you please share the code and how you send the images to the table.


  2. Achraf says:

    Dear Gavin,
    Your table looks really cool!
    I am working on a similar project, however on polar/circular plotter. I noticed on the youtube link you posted that you already built a similar design.

    Can you please advice on which firmware you used to drive the motors in the video? I am trying to use a Marlin fork that is supposed to handle polar movements but so far I didn’t manage to get it to work properly.

    Can you explain a little bit your technique on designing the patterns? Do you create your gcode by hand? Do you use a program to transform patterns into gcode?

    What kind of magnet do use? an electric or a permenant magnet?

    Do you have a video for the movement of the cylindrical disc magnet?

    Last question, when you say “soft base under the sand” do you mean something like a bed of cork?

    Sorry for all these questions but your project’s success is very motivating to finish mine 🙂

    Thank you.


    • Hi Achraf,

      Sorry for the late reply. Lovely to hear you’re working on something similar!

      I didn’t design the circular one, a friend of mine, Nick, did. I think the code is here:
      He made a dedicated website around it and a pattern generating language that used a genetic algorithm to create patterns which were sent to human beings for approval.

      For my table I kept it very simple and made a processing script to generate G-code for lissajous figures. You could probably make something better easily, but I’m happy to send it to you if you like.

      I used permanent rare earth magnets both above and below the table. It’s very important that the one on the table be a cylinders, not a sphere. The soft base we found most useful was thin craft felt.

      (We were also playing around with having a small magnet drag hidden under the sand drag a paper shark fin around, which was fun)

      Please send me a link when you’ve finished yours, I’d love to see it.



  3. Pingback: Zen Tense III: Not all Dead, Which Means it’s Slightly Alive |

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s