Hello,
(stupid long post)

I was wondering if anyone could help with the following project or let
me know if this would even be possible.
 I initially modeled something in Rhino, but in order to continue and
make the object react to different inputs, I've been told to either
start using Grasshopper or learn scripting before going insane with
some repetitive tasks.
I started going through some Grasshopper tutorials and reading the
(new!) primer and although I can see how some of the definitions could
be applicable to my project, I can't see how I could fit them all
together.
Here is what I would ideally want to do:

1. Draw a grid of 10 x 10 x 10 boxes from, let's say, the origin. Each
boxe would have an ID (let's say a number) and I would be able to
select a box, or a group of boxes, within some sort of selection
system.
Initially, I wanted to identity specific boxes in groups via colour
systems...Hence, group 1 would be red, group 2 would be green, etc..
but I read through a couple of posts saying that it would not yet be
possible?

2. Each box would have its 6 faces which could react different
according to an "attractor" (or each pair of parallel faces reacts
differently vs all 6)

3. Within this 10 x 10 x 10 grid, there would be interspersed points
(10 of them) which would affect, in turn, the surrounding boxes.

4. I would like the faces of the boxes to respond in terms of their
proximity these attractor points by varying their colour (RGB values).
Using a metaphor, these attractor points would be like the sun (value
of RGB 255, 255, 255) and the faces would obtain a new RGB value in
intervals relative to their distance to these attractor points (eg.
the face right next to a point would have an RGB value of 255, 230,
230) etc, according to their place in 3D.
That's my base model...

Afterwards:

5. I would like to export in excel the new rgb values of the faces vs
what the box was like before
6. Do some sort of evaluation process to determine if the "new values
of RGB" are close to the old values
7. If they are close (eg. "cohesive"), then a contamination occurs
where the surrounding boxes' faces acquire the same RGB value as from
the initial one.

The dynamic aspect would be so see which group of boxes contaminates
their neighbors the most by varying their initial colour (thus
affecting their "cohesive" factor).

THAT said, I know that there are a couple of aspects that are
possible, from what I learned (grid of boxes, reacting to smtg,
exporting values to Excel), and currently am trying to fiddle to
modify the what's given in the primer but simply hitting dead-ends.

If anyone could let me know if that
would be possible or what COULD be possible to arrive at that final
conclusion, I would be extremely grateful!

Thanks..

Reply via email to