designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

#image-sampler

9 posts

String Art in Rhino Python

June 19, 2025

String art is a cool art technique that combines geometry and aesthetics to recreate images using lines between pins. Here is a good reference to start studying it. In this post, I explored a custom Rhino Python script designed for Rhinoceros 7 and 8. It transforms a grayscale image into a dense web of threads. The algorithm analyzes the darkest areas of the image and connects pins in a circular layout to form compositions. The script begins by converting a…

ASCII Art in Grasshopper

August 24, 2024

ASCII art is a graphic design technique that uses characters from the ASCII (American Standard Code for Information Interchange) set to create images, symbols, and designs. This form of art involves arranging text characters to form a visual representation of objects, scenes, or abstract patterns. I first encountered this art form in the 90s through readme text files and computer games. Years later, attempting to automate it in Grasshopper was a lot of fun. My initial goal was to calculate…

Image Sampler Basics

July 5, 2024

The Image Sampler has always been a very effective Grasshopper component. Once again, I had the opportunity to use this component for a professional job. As you can see, with the help of a straightforward and short script, we can create a relief of an image to fit the desired panel dimensions on the screen. We can process this onto a suitable material using a CNC mill, laser cutter, or water jet. For the beginners, here are the image sampler…

Fibonacci Portraits

December 27, 2023

“In the heart of a sunflower’s embrace, its seeds weave a poetic tale—a dance of two spirals, parastichies they’re called. One unfurls gracefully from the center in the hush of clockwise whispers, while its counterpart whispers secrets in the tender breaths of counterclockwise motion. A subtle ballet unfolds, where the number of these spirals gracefully mirrors the whispers of adjacent Fibonacci numbers, composing a delicate symphony in the sun-kissed fields.” says ChatGPT if I force it to be a little…

Image Sampler Revisited

March 17, 2015

Image Sampler of Grasshopper saves life if used responsibly. While explaining the component to this year’s ARCH362 students, I used this simple example that generates numbers from a beautiful picture of “metal foam” and uses it to generate lots of circles: Metal foams are lightweight but strong materials, that are typically produced by injecting gas into the liquid metal. Of course, it becomes easier to teach something when you manage to attract the attention of students.

The Cogwheel

May 23, 2014

Here is another student project from the three-day workshop we conducted together with Fulya Akipek and Mehmet Ali Altın. Briefly, the idea was to develop a system of cogwheels that spin together to animate an entire pattern. It was about to develop a kinetic system with a simple Arduino-based setup, probably with one servo and a motion sensor. The integration of the cogwheels system and the underlying pattern was interesting research. Although it seemed very simple for a servo setup,…

Image Processing Basics

November 1, 2013

This was the initial example of image processing in our Parametric Modeling class. Hand-drawn and digital diagrams can also be digitized and used in order to describe certain parameters for design formation. Such algorithms would similarly use the Image Sampler Component of Grasshopper. In the algorithm below, image data is used to capture black pixels as attractors of a Voronoi subdivision. A regular point grid is dispatched according to Brightness values so that the points that lie on the lines of…

Facade Study with Grasshopper

September 12, 2013

This is a small project of a facade study in Grasshopper, designed by KAF Architecture, and built in 2013 at Altunizade, İstanbul. KAF Architecture designed the facade with varying holes with an image of a forest. The image was supposed to generate the holes. At first, the office tried to do this manually, placing circular holes on the image in AutoCAD. However, after several hours, they thought that they needed some kind of an algorithm to accomplish this task. Therefore,…

Subdivide by Image Contrast

October 17, 2012

This was my old plan to work with images in Grasshopper. Certainly, that was not the result I expected, but this could be counted as a starting point. After seeing beautiful circle packing compositions here, I decided to program Grasshopper, so that it’ll create a subdivision, based on image data. This was the initial version, just subdividing a plane with Voronoi points and visualizing it according to the image’s color values of proper UV coordinates. There is no interpretation on…

  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #permaculture
    • #cycloid
    • #delaunay-triangulation
    • #hyperbolic-paraboloid
    • #geodesic
    • #vector
    • #optimization
    • #responsive
    • #solar-analysis
    • #truchet
    • #exhibition
    • #muqarnas
    • #dodecahedron
    • #fractal
    • #space-filling
    • #fourier
    • #vector-field
    • #hilbert
    • #design-competition
    • #b-spline
  • 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