algorithmic modeling for Rhino
Firefly offers a set of comprehensive software tools dedicated to bridging the gap between Grasshopper, (a free plug-in for Rhino) the Arduino microcontroller and other input/output devices. It allows near real-time data flow between the digital and physical worlds – enabling the possibility to explore virtual and physical prototypes with unprecedented fluidity.
Firefly offers a set of comprehensive software tools dedicated to bridging the gap between Grasshopper (a free plug-in for Rhino) and the Arduino micro-controller. It allows near real-time data flow between the digital and physical worlds – enabling the possibility to explore virtual and physical prototypes with unprecedented fluidity.
As a generative modeling tool, Grasshopper offers a fluid visual interface for creating sophisticated parametric models, but by default, it lacks the ability to communicate with hardware devices such as programmable microcontrollers or haptic interfaces. Firefly fills this void. It is an extension to the Grasshopper’s parametric interface; combining a specialized set of components with a novel communication protocol (called the Firefly Firmata or Firmware) which together enable real-time communication between hardware devices and the parametric plug-in for Rhino.
A notable distinction for Firefly is that it is the first visual microcontroller programming environment designed specifically for a 3-D parametric CAD package (such as Rhino). This feature means that real-world data, acquired from various types of sensors or other input devices (video cameras, internet feeds, or mobile phone devices, etc.) can be used to explicitly define parametric relationships within a Grasshopper model. Firefly completes the communication feedback loop by allowing users the ability to send information from Grasshopper back to the microcontroller in order to incite specific actuations (ie. lights, motors, valves, etc). Ultimately, this workflow creates a new way to create interactive prototypes.
Hi Guys,I'm new of arduino and firefly and I would need help.I have started a project to auto-build a cnc milling, but I have some doubt.There is some algorithm that can convertes a 3d model from rhino into a code for arduino?Thanks!Continue
Started by stefano. Last reply by Jordan Yerbury Dec 28, 2013.
Hey guys,I am having troubles to get Firefly working. I want to read and write data to my Arduino Micro, but I don't receive any data in the Serial Read Component.I just made a very simple "Hello World!" set, but the Firefly read component doesn't…Continue
Started by Benjamin Felbrich. Last reply by Benjamin Felbrich Dec 21, 2013.
Hello!I have a question which I am sure has a simple solution because I think I am doing something pretty ignorant.I am using the sample 'Serial Event' sketch that comes with the Arduino IDE. I want to be able to write to the arduino, and have the…Continue
Started by Luis Fraguada. Last reply by Luis Fraguada Dec 19, 2013.
Started by Luis Fraguada. Last reply by Benjamin Felbrich Dec 18, 2013.
Using Grasshopper's visual programming interface, Firefly gives you the ability to create interactive programs and devices by manipulating elements graphically rather than by specifying them textually. It attempts to bridge the gap between the digital and physical worlds by simplifying the prototyping process for interactive objects. It combines a specialized set of components with a novel communication protocol (called the Firefly Firmata, or Firmware) which together enable real-time
feedback between hardware devices such as the well-known Arduino microcontroller and the Rhino / Grasshopper modeling environment. All this happens instantly - so there's no compiling. Your program runs as you build it, making development and prototyping an extremely rapid process.
Leveraging Grasshopper's visual programming interface, Firefly gives you the ability to quickly mock-up and prototype ideas for interactive objects and devices. It achieves this mostly by sending data back and forth over the serial port really quickly. But, what if you want your device to stand-alone... meaning you don't want to be tethered to your computer by a pesky USB cable. In order to do this, the microcontroller must be programmed, typically using some C++ or Arduino code.
Fortunately, Firefly has an advanced Code Generation feature which translate the spatial representation of your Grasshopper code directly into Arduino compatible code. And it does this all on the fly. Now, you don't need to worry about writing all of that code yourself. Simply, prototype your design as you normally would, and the Code Generator will work in the background writing all of the code necessary to make your design come to life!
Firefly alleviates the hastle of interfacing with external hardware. The Firefly toolset has pre-built components that allow you to connect to many of the most popular hardware devices including data acquisition devices, mobile phones, cameras, game controllers (like the Wii Nunchuck and Microsoft Kinect) and audio interfaces to name but a few.
Firefly has an extensive suite of computer vision, analysis, and effects tools. Integrate video feeds (now with multiple camera support), load individual images (.jpg, .tif, .png, .bmp, etc.), play video files and more. Firefly also includes several filtering, graphic effects, and compositing tools to manipulate live image data. In addition, you can create your own custom filters using convolution kernels. You can also take advantage of computer vision algorithms such as optical flow, gradient vectors, contour vectors, and color analysis to make your next interactive project a visual success.