algorithmic modeling for Rhino

Andy Payne
  • Male
  • San Francisco, CA
  • United States
Share on Facebook
Share Twitter

Andy Payne's Friends

  • Joshua Arguello
  • dave weidkamp
  • Yubo
  • Elio Atallah
  • JFig
  • Keren Sohezki
  • Mark Foxworth AIA, LEED AP
  • Alina Minassian
  • Herman Zonis
  • John Ivanoff
  • zesp
  • Brian Ringley
  • Camilla Selv
  • Mario Fullone

Andy Payne's Groups

Andy Payne's Discussions

Screenshot of Viewport
4 Replies

Started this discussion. Last reply by Andy Payne Oct 2, 2013.

New Firefly Now Available!
2 Replies

Started this discussion. Last reply by AB Jul 17, 2013.

Alpha Channel of Lines and Points
4 Replies

Started this discussion. Last reply by David Rutten Feb 24, 2013.


Andy Payne's Page

Latest Activity

Generative Fablab liked Andy Payne's video
Andy Payne replied to Andreas Bested's discussion Running steppers from a L293D board in the group Firefly
"Thanks Andreas.  I don't currently own a L293D driver but will try to test out your code once I do.  Thanks for the contribution!  You mentioned you had also modified the component.  If you'd like, you can forward that…"
Sep 29
Andy Payne commented on Scott Davidson's group Firefly
"Lastly, could you start a discussion topic about this issue instead of just posting to the wall.  That will help us track any issues and keep the comment wall more clean.  Thanks. "
Sep 26
Andy Payne commented on Scott Davidson's group Firefly
"PS, the 1023 value you're getting is not actually correct.  Either you have a hardware circuit error, which is causing your voltage to saturate around 5V (and thus the pin is returning it's maximum value of 1023) or you never actually…"
Sep 26
Andy Payne commented on Scott Davidson's group Firefly
"Emanuele, it appears you're getting an error in the Arduino IDE... which may mean the firmata never actually got uploaded to your board.  Can you close Grasshopper, and try uploading the Firmata, and then restart Grasshopper?"
Sep 26
Andy Payne liked nikos tzar's video
Sep 25
Andy Payne commented on Scott Davidson's group Firefly
"Hi Emanuele, It's difficult to debug without actually seeing the script your working with (ps... why not use the firmata?)  Anyway, my assumption is that you're arduino sketch is sending data over the serial port as string (possibly…"
Sep 25
Andy Payne replied to Henrik Cheung's discussion Kinect & firefly, no Node ID?
"Hi Henrik, Unfortunately, I doubt this is possible mainly because the Firefly Kinect tool uses the Microsoft Kinect SDK to retrieve its data (ie. color, depth, skeleton, etc.).  OpenNI is one way to connect to the sensor (many early…"
Sep 25
Andy Payne commented on Generative Fablab's video

5 Axis robot arm controller based on Arduino, Grasshopper and Firefly.

"Hmm.  That's strange.  It's really a basic algorithm.  Are you using the temporal smoothing or moving average component (not that it should really matter).  Also, is the geometry your moving a mesh (rather than…"
Aug 22
Andy Payne commented on Generative Fablab's video

5 Axis robot arm controller based on Arduino, Grasshopper and Firefly.

"Looks good.  Have you considered using the temporal smoothing component to smooth out the sensor values?  This might eliminate some of the jerkiness in the motion.  Just a thought. Nice work."
Aug 21
Andy Payne liked Generative Fablab's photo
Aug 21
Andy Payne liked Andrew Heumann's video
Aug 20
Andy Payne liked Andrew Heumann's video
Aug 20
Andy Payne replied to J Frölich's discussion Using Ultrasonic Ping sensor with firefly?
"Nice.  I've been waiting for my sensor to come in the mail... but I look forward to testing out your solution.  Thanks for the contribution."
Aug 16
Andy Payne liked Le Art's video
Aug 4
Andy Payne replied to jorge sainz de aja's discussion Screen LCD in the group Firefly
"I'm not ignoring this question... I just don't currently have an LCD to work with.  I just placed an order for one and it should be here in a few days.  I'll see if I can set something up to see if it will work (I think it…"
Jul 13

Profile Information

Andy Payne's Photos

  • Add Photos
  • View All

Andy Payne's Videos

  • Add Videos
  • View All

Andy Payne's Blog

New Firefly Website with Shop

I am excited to announce that Firefly has a new and improved website (  The website has many new features including a new forum and an e-commerce shop which includes products like the new Firefly Interactive…


Posted on July 2, 2014 at 8:40am — 2 Comments

Facades+ Interactive Surfaces Workshop

I am excited to be teaching a one-day Interactive Surfaces workshop for the upcoming Facades+ Conference being held in New York City on April 11th-12th.  The…


Posted on March 19, 2013 at 9:47am

Firefly Now Available for Rhino 5.0

Hi Everyone,

After a long time coming, the complete Firefly toolkit has finally been upgraded for Rhino 5.0 (both 32-bit and 64-bit versions).  This new release includes an updated C_sawapan_media.dll (many thanks to Panagiotis Michalatos!) as well as a new installer!  

The installer should automatically remove any previous versions, and copy all of the core Firefly Grasshopper Assembly files (as well as any needed dependencies) into the roaming Libraries folder on…


Posted on February 4, 2013 at 5:54pm — 1 Comment

Firefly Kinect 0.0004

I have just released an update for the Firefly Kinect (ver. 0.004).  There had been a small bug in the Kinect Video Stream and Kinect Depth Stream components which has now been corrected.  As before, this build uses the Microsoft Kinect SDK 1.5, which means the components will only work in Rhino 5.0.  For best results, I recommend using Rhino 5.0 32-bit version as the Firefly Kinect components also rely on some of the C_sawapan_media.dll functions which has only been compiled for 32-bit…


Posted on October 3, 2012 at 12:45pm — 3 Comments

New Firefly Build, Website, and more!

I'm really excited to announce the release of several new Firefly endeavors I've been working on over the past few months.  The first is the release of a new Firefly Build (1.0067) which is compatible with the latest version of Grasshopper (0.9.0006).  This release has a lot of new features…


Posted on August 17, 2012 at 2:26pm — 9 Comments

Comment Wall (23 comments)

You need to be a member of Grasshopper to add comments!

Join Grasshopper

At 7:06pm on June 15, 2014, Matthew Gilbride said…

Thanks Andy. That cleared up a lot and reinforces what David explained. Had the same thought about handling the high frequency data on Arduino and sending data much less frequency to Grasshopper. Sounds like a challenge that will take some time to figure out. 

At 11:22am on June 15, 2014, Matthew Gilbride said…

Hey Andy. Have much enjoyed your gcode definitions in the past and have started using firefly, another great tool. I am trying to do something that sounds like it may have a technical roadblock. I want to read pulse output from an arduino that is running the gcode interpreter GRBL. I use grbl with my diy cnc but I am trying to cobble together a simulator for testing and understanding the firmware and gcode programs I use. The arduino pumps out pulses that are only 5-50 microseconds wide. I think I can set them as big as 255 microseconds wide. I can read the output at 1ms intervals using firefly but obviously drop a lot of information. Do you think there is a way to successfully read those pulses in through firefly? 

At 2:35am on June 8, 2014, Anan Ashour said…

Hey Andy,

many thanks for your great plug-in.

I am trying to start using Kinect in Grasshopper and I am wondering if you can provide me with some tutorials/hints for beginners?

Many Thanks

At 12:54pm on February 14, 2014, philip pappas said…

Hi Andy,

i've hooked up a dc motor with an h bridge circuit and i have been able to control the rotation and speed so far through Arduino code. Now i wanted to do the same through Firefly, but it keeps working with the Arduino sketch ignoring the current values i am sending through Firefly, shouldn't the Arduino sketch be overwritten? However that was not the case with servos..

Should i reset the Arduino?

Thank you

At 11:06am on December 18, 2013, shahriar akbari said…

Hi andy 

I've been trying to work with OSC lately,but unfortunately i was not able to send data from my ipad to grasshopper although I was able to send some data from grasshopper to ipad. all the port numbers and page numbers and stuff seem to be right. i was wondering if you could help me. thnx in advance 

At 4:00pm on October 25, 2012, lmnts said…


FYI, I just hooked up a different type of stepper motor ( and the speed is much better.  This must be a hardware issue I'll have to look at.  Sorry for the trouble.


At 2:06pm on October 25, 2012, lmnts said…


I really appreciate the quick response.  My issue here is speed.  I took a look at AccelStepper.h, which mentions that speeds above 1000 steps/sec are just to test it, I tried setting the stepper speed to 1000 on the quadstepper component.  The steppers I'm using are vextas:, which have a step angle of .9.  So a speed of 1000 should give me an rps of 2.5, but when I set the quadstepper to a speed of 1000, the actual rps I'm getting is really slow, its more like .2 rps. 

At 1:39pm on October 25, 2012, lmnts said…


Thanks again for your help today with the capacitors. I have another question regarding quadsteppers and I'm not sure which forum for Firefly is current.  Is the most recent forum at  I had trouble finding a discussion part on the new web site. 

Anyway, I posted a question there about increasing stepper speeds with the Quadstepper driver.  I'm trying to attach a dremel to a reprap to turn it into a router.  The quadstepper works great, but I just need some more juice.  Thanks for any help.


At 10:56pm on September 13, 2012, Alina Minassian said…
At 10:49pm on September 13, 2012, Alina Minassian said…

Hi Andy,

thank you for your reply. I did have a look at Firefly's Audio components. 

We're trying to move an "arm" similar to the polyline in screenshots, where each member rotates in relation to the members in either side of it. The two end members are fixed at one point. (Thinking in section) a fabric skin is attached to the arms. This skin moves according to the arms' movement behind it. We have an Adruino Uno board connected to grasshopper. 

If sound produced by speakers of laptop is our input data, how will it be input into arduino? Also is it possible for us to divide the frequencies of Piano keys into 3 categories of low, medium and high and have them as the output that moves the structure? If yes how should we do that?

thanks heaps for your explanationGH-Rhino%201.jpgGH-Rhino%202.png2.png



Search Grasshopper


  • Add Photos
  • View All

© 2014   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service