Image-based Triangulated Panels with Marionette

Posted by Alex Altieri on 9/28/20 2:59 PM  |  1 min read time

We’re back with another Marionette Monday!

In the past, we’ve shared a lot of custom scripts and networks that do a whole lot of different things (this gravity retaining wall design, this 2D to massing model automation, and this building story automation to name a few!) This time, we have a script that generates some unique geometry patterns. This network transforms an image into a triangulated panel by reading the image’s data for each pixel, then averaging colors per triangle.

Screen Shot 2020-09-22 at 2.31.23 PM

Customize the number of points in the panel to add your own artistic flair, like in the image above — the panels contain 250 points, 100 points, and 30 points (left to right), and each way offers a unique look and feel. You can use this network to decorate an interior with customized art, to create a stained glass window, or to simply see what your favorite image looks like in triangulation.

ImageBasedTriangulatedPanel

This script combines and expands upon an image processing node and a triangulation node from our Community Forum, where you can find plenty of other Marionette objects and scripts.

Screen Shot 2020-09-22 at 2.33.39 PM

You'll need the Python libraries “Pillow,” “NumPy,” and “SciPy” to be installed on your computer to run the script. You’ll see a pop-up to install them when you modify any objects that use the script. You only need to install them the first time you run the script, and after that it’ll work automatically.

GET THE FILE

Topics: Marionette Monday, Algorithms-aided Design

Stay in the Know

What You'll Receive

We’re passionate about telling stories that inspire great design, so our blog subscribers regularly receive:

  • Tech tips to address your specific pain points and design goals
  • User success stories to drive your inspiration on the latest industry trends
  • Important company announcements

Subscribe Here!

Recent Posts

Posts by Tag