Grasshopper

algorithmic modeling for Rhino

remapping an original domain of series to switch hierarchy of circles

Dear all,

I've been on this problem for almost 2 weeks now. I am trying to change the radii of the circles from bottom to top/top to bottom with a slider, so the hierarchy of the size of the circles would change smoothly along the v direction.

I tried to remap the original series, but it doesn't work. All circles would need to be constrained within a given rectangular boundary, and I just do not know how to do it. I reached a dead end. Hope someone is able to help me with this.

Views: 511

Attachments:

Replies to This Discussion

Hello Ligioseete,

This definition doesn't do exactly what you want but it will help me explain why I believe what you are asking for is not possible.

You have provided two images with the two extreme states of your desired function.

The problem is with the transition from one to the other: When the largest circles (bottom row in 1st state) start moving up you want to have the second largest circles appear under them and the smallest circles (top row in first state) "disappear". So the Y size of your rectangle will have to change:

([Original Y size] - [smallest diameter] + [second largest diameter]) which contradicts the "All circles would need to be constrained within a given rectangular boundary" statement.

So my definition ensures the above requirement but doesn't exactly qualify for a smooth transition.

The opposite would also be possible (maybe a bit harder though). You just need to decide which of the two requirements you want to keep.

cheers,

nikos

Attachments:

...and here is the opposite:

Attachments:

Hey Nikos,

thank you very much for your effort. We remapped the y direction so the circle grid has a fixed boundary (with the side effect that each layer of circles is not tangent to each other).

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service