Grasshopper

algorithmic modeling for Rhino

Here the script to divide an image with rectangles. 

Example image here 

http://www.grasshopper3d.com/photo/we-can-do-it

This script uses Anemone for the recursion so you have to specify the level of recursion (12 here)

It compares the level of grey with some samples on each rectangle. The comparison is based on standard deviation or extremes. 

There is Human Plugin for Lines drawing but it is not mandatory. 

There is a dam at the end for subdivision viewing with color

Views: 3398

Attachments:

Replies to This Discussion

Hello Laurent, 

I am interested in understanding recursion based on image sampling, do you have a simpler code to use as example? I am interested in getting subdivisions based on the darkness of an image

many thanks

Hello

The code is On this page ! 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service