3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Polargraph Drawing Machine

Step 11Controller software - install

Controller software - install
The setup is ready to test! The software you use to control it is a little application written in Processing.  You can run this from the source code, but it's probably easier to use one of the pre-compiled binaries that I've made.  The google code project site has the latest versions for mac or windows, in a zip called polargraphcontroller<version number><platform>.zip.  

Download it, unzip it, and run the executable.  It'll open up very small, but maximise the window to see more.  It will automatically create a default configuration file in the same folder as it runs in, and you should then click "save properties" in the top-left corner to save the new window size as the default.

If you're curious about Processing, you're right to be: It's ace.  There are useful tutorials on processing.org, and of course here on Instructables too.  It's basically java, but optimised to run little stand alone programs with graphics.  If you're interested in keeping on the leading edge of the controller development, you might like to check out the code directly from the repository and compile it yourself.

So open Processing up, and go to File->Sketchbook and you should see "polargraphcontroller" listed there.  Click on it, and the application should open up.  It'll only be very small, so go ahead and maximise the window, or stretch it so you can see everything.  If it worked, then well done. NEXT!
« Previous StepDownload PDFView All StepsNext Step »
11 comments
Jan 28, 2012. 11:03 AMlanthan says:
Very nice, outstanding instructable!
At this point, ControlP5 and geomerative libraries installed, code downloaded from svn today, I am stuck (Processing 1.5.1, current Ubuntu release) when trying to run the sketch:
error in line 140 of Panel.pde c.setSize((int)cSize.x, (int)cSize.y);
error msg: "The function setSize(int,int) does not exist"
If I comment this line out, the next error is in line 182 of the same file
"the function getBackground() does not exist"
then line 189 of the same "The function setLock(boolean) does not exist"

if I comment the last one, the controller runs (still signals a RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2
but this is not fatal.
So it is like a library or set of functions might be missing. Any hints? Thank you!
Jan 28, 2012. 11:37 AMlanthan says:
Never mind, solved it: was a mismatch of versions of the ControlP5 libraries. It is very important to use the one from the link provided by the polargraph instructions, dated from october 5, 2010.
Jan 18, 2012. 2:41 PMSnyperBob says:
Hi,

I have another question about this step (11). With the newest updates you made to your code, do I now have to copy ALL 11 of the files from your code site, branch polargraphcontroller_zoom, into the sketch folder for Processing?

Thank you
Jan 18, 2012. 2:47 PMSnyperBob says:
More information in regards to what I'm asking...

I downloaded from your site: polargraphcontroller1.0.2.windows32.zip
I'm running WinXP

I installed Processing, latest version, and see folder here: My Documents/Processing

I created a new folder in that folder called polargraphcontroller.

So, my question is, what files do I need to copy into: My Documents/Processing/polargraphcontroller
from your zip file? Do I need to copy the source folder from your zip file, there are 11 files in that folder.
Jan 18, 2012. 2:50 PMSnyperBob says:
I copied those 11 files into: My Documents/Processing/polargraphcontroller


but nothing shows up when I run Processing and click on File->Sketchbook . I have closed Processing and tried reopening, but nothing is displayed
Jan 19, 2012. 7:01 AMSnyperBob says:
Thanks for the tip! Sorry for all the newbie questions on getting this up and running. I'm new to Arduino and really like this project!

Ok, so based on what you told me, I just extracted the polargraphcontroller.1.0.2.windows32.zip file

I ran polargraphcontroller_zoom.exe and it opens up fine. I closed out of the program and then updated polargraph.properties.txt file with my correct serial port for my Arduino UNO.

When I open polargraphcontroller_zoom.exe again, it just says No Serial Connection at the top of the screen.

My next question is.....do I need to load a sketch onto my Arduino in order to get it to talk to polargraphcontroller_zoom.exe?

Right now, the last sketch loaded onto my Arduino is Blink. Do I need to clear off that sketch or something in order for my Arduino to talk to the computer?

I read this Instructable many times and I just seem to be missing something here. I'm guessing it's like you said, these directions are for the older version of your software. I'm looking for any more tips to get the software talking to the Arduino.

Thank you
Jan 19, 2012. 12:09 PMSnyperBob says:
Oh, thanks for explaining this. I am now going to try to get the older version of your software up and running, until I know a little bit more about how it all works and get more comfortable with it all.

Running the older version, with the COM port setting that you explained, after manually installing all the libraries, loading the server onto the Arduino, I am now able to run the program!

It comes up, says it's connected via the COM port, and I can load an image into the program. I'll re read all of the other steps again and try to learn more about how to use the polargraphcontroller program.

Thanks again for all you've done!
Nov 27, 2011. 3:29 PMthejuddernaut says:
Hey, me again.
Ok. So I downloaded Processing just fine and found the folder on my computer and created the polargraphcontroller folder within, but how exactly do I download the source code. I opened it up and was able to look at it but didnt know where to go from there. This is probably a really lame question, but I am completely new at this stuff.
Thanks for the help thus far,
Jud.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
64
Followers
3
Author:Euphy
Like everyone, I like making things. I'm currently a computer programmer by trade, which I adore, but I like building physical things when I can. I like pottery and lino cutting and photography, and...
more »