designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

Strings

January 17, 2014 | Algorithms
#animation #firefly #grasshopper #responsive

Here is a test of the optical flow component of Firefly. You can check the Firefly add-on to Grasshopper here. As an ongoing research project, I’ve been searching for a suitable platform to study responsive geometric patterns. This initial study focuses on one particular effect of Firefly, the optical flow that outputs the direction vectors on a given webcam input. I developed traces of it by joining endpoints of these vectors together, creating strings. Then, recorded them to provide better motion effects, adding color afterward. The data recorder component is creating this effect of fading out.

Although Grasshopper is not a capable platform for studying responsive installations such as Processing or VVVV, I still give it credit because of its effortless way of coding. More control over the visual outcome (e.g transparency of curves) is still missing in Grasshopper, but more importantly, the performance is a big issue for such real-time formation algorithms. Update: After 9 years, on 17.1.2023, I re-checked the code. It still works in Rhino 7! The strings algorithm runs much smoother on a faster computer. I think the Firefly add-on has no alternative today as far as I know. On some computers, I saw it didn’t work. I was lucky I think because it worked and connected to the webcam in the first try. Update#2: As of 13.8.2026, the code (Firefly add-on) still works with Rhinoceros 8!

Strings animation, firefly
Strings grasshopper, responsive

Here is the original 2014 Grasshopper definition if you are interested in testing this algorithm: (Firefly must be installed on your Grasshopper, and a working webcam should be connected when running the file).

Grasshopper definition (GHX)Download

Cite this post

Yazar, T. (2014, January 17). Strings. designcoding. Retrieved August 24, 2026, from https://www.designcoding.net/strings/

Related Posts

Infections v2 @ Bolu

April 26, 2013

The “Re_Flex Patterning” workshop will be conducted at İzzet Baysal University Faculty of Engineering and Architecture between 6-8th May 2013. The workshop is led by Tuğrul Yazar and Fulya Akipek, from the İstanbul Bilgi University Faculty of Architecture. Integrating digital media with the material world reveals emergent performances. Parametric modeling techniques encourage designers to study more on the envelopes of potentials instead of singular artifacts. Working with these envelopes tells a design cycle that entails the determination of relations and…

Plasma

February 8, 2013

This is the third and the last project of the Infections workshop conducted at YTU this week.The conceptual Framework is developed by Betül Dönmez (DEU). In this project, the host body is infected by high fever and pressure and changes its solid phase into plasma. The solid molecules of the existing body transform to become plasmatic. This substance can react to various movements around it. When someone comes close to the wall, the plasma molecules start to get into motion, unify, expand,…

Lesion

February 8, 2013

This is another final project of the three-day workshop at YTU, named Infections. A conceptual framework is developed by Bahar Aybudak (METU) and Zeynep Gür (ITU). The cellular forms come together to set the existing wall (host body). The wall represents the body structure, in which in case of any infection, various challenges could be seen in parallel with the immune system. The struggle with the mentioned infection is observed through various transformations in these cells. The location in which these…

Infections Workshop

January 29, 2013

The series of workshops named “gridal infection”, or “infections” in short, explore the multiplicity of pattern deformation in a pedagogical context. It aims to encourage design students to manage an associative process of design, composed of short-term constructive assignments. Students are expected to develop an understanding of contemporary computational design techniques regarding a connection between abstraction and conceptualization. It reflects an open discussion of the abstract types and methods of potential infections on any pre-defined system while the geometric representation of…

Firefly and a Webcam

January 29, 2013

I finally installed Firefly, it immediately powers Grasshopper up with beautifully smart components, even if you don’t have Arduino it is still very useful. If you want to give it a try, first you have to install a small tool free from www.reactivision.com in order to send data to Firefly. After that, you may download and install firefly from their website, www.fireflyexperiments.com. It was the real-time inputs, my first interest. I was very excited to get data from my laptop’s…

  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #rhino-python
    • #polyhedra
    • #parametric-surface
    • #robot
    • #tessellation
    • #boolean
    • #kuka-prc
    • #art
    • #dome
    • #design-object
    • #image-sampler
    • #terrain
    • #sandblasting
    • #stone
    • #parametric-curve
    • #cycloid
    • #aperiodic
    • #tiling
    • #dodecahedron
    • #archimedean-solid
  • Search

  • Support designcoding!

  • Enjoying designcoding? Support me on Patreon to keep it growing. Thank you!

  • copyright 2026 designcoding.net | about | privacy policy | end user license agreement