Turn instances on/off with (em)flocking
Turn instances on/off with (em)flocking
Hey all.
Yet again, I am doing some LED simulation (some might remember a thread from XSIBase), but this time its more spatial.
I would like to have a matrix of LED's react to a particle simulation. As the image of murmuration was a starting concept
for the project, I went ahead with emFlock 2.0. It seems to have quite a few tricks! The Quantize Volume can do the matrix of lights,
and the all-in-wonder "Explode Me" makes a nice flocking setup.
Now... I thought I would set points from the led matrix (quantized cloud) and use a "distance to flocking particle filter" to turn the
instances on and off. But I'm a bit lost.
Any advice?
Thanks
t
Yet again, I am doing some LED simulation (some might remember a thread from XSIBase), but this time its more spatial.
I would like to have a matrix of LED's react to a particle simulation. As the image of murmuration was a starting concept
for the project, I went ahead with emFlock 2.0. It seems to have quite a few tricks! The Quantize Volume can do the matrix of lights,
and the all-in-wonder "Explode Me" makes a nice flocking setup.
Now... I thought I would set points from the led matrix (quantized cloud) and use a "distance to flocking particle filter" to turn the
instances on and off. But I'm a bit lost.
Any advice?
Thanks
t
Re: Turn instances on/off with (em)flocking
So a bit further in trying to get this working. Found a nice compound in the emflock addon (emFly_Get Point Data), that lets me measure
distance between points in point cloud and particles. Tried all sorts of array tricks, but by brain liquefied.
So in this current setup, I can set the size of the flocking particles when they come near the "LED's", but it won't let me set the LED Cloud size in
the "If" node. I can plug the LED Cloud size node into the ICE Tree and execute, and the size changes accordingly.
t
distance between points in point cloud and particles. Tried all sorts of array tricks, but by brain liquefied.
So in this current setup, I can set the size of the flocking particles when they come near the "LED's", but it won't let me set the LED Cloud size in
the "If" node. I can plug the LED Cloud size node into the ICE Tree and execute, and the size changes accordingly.
t
Re: Turn instances on/off with (em)flocking
Since I couldn't change the size of individual points in other pointcloud, it worked when I used the same distance condition in the LED ICE Tree.
Thanks for reading my posts... ;)
t
Thanks for reading my posts... ;)
t
Re: Turn instances on/off with (em)flocking
So, thought all was well, but refining the test, I see that it only sort of works...
Problem is, it's not all the LED-particles in the vicinity of the flock, that changes size (turned on).
It's actually only few compared how many that should.
So the ICE tree on the LED cloud looks like this. The tree in the modelling stack is just the quantized cloud.
Quantized cloud:
Hope it makes sense.
t
Problem is, it's not all the LED-particles in the vicinity of the flock, that changes size (turned on).
It's actually only few compared how many that should.
So the ICE tree on the LED cloud looks like this. The tree in the modelling stack is just the quantized cloud.
Quantized cloud:
Hope it makes sense.
t
Re: Turn instances on/off with (em)flocking
Any help is super super appreciated
Re: Turn instances on/off with (em)flocking
So, reading up on arrays from a grasshopper manual, and seeing the vimeo tutorials from s. blair again,
it suddenly began to make sense. Anyhow, this setup is working:
t
it suddenly began to make sense. Anyhow, this setup is working:
t
Re: Turn instances on/off with (em)flocking
So Grasshoper manual is good to make sense of ICE arrays?
don't get your last screen . Does it means that if distance between between 0 and 0.1 the instances are turned on?
don't get your last screen . Does it means that if distance between between 0 and 0.1 the instances are turned on?
Re: Turn instances on/off with (em)flocking
I think a lot of the priciples here, apply to ICE:
http://www.liftarchitects.com/storage/r ... 090323.pdf
Newcomer (<20 posts) alert: please use the URL tags - HB
The distance is defined in the "<" (less than) node. The other two in the "if" node define the Size in the "Set Data" node.
So in the below tree, the led's has a size of 0.1, if a distance to a flocking particle is below 2. Otherwise Size is 0.
t
http://www.liftarchitects.com/storage/r ... 090323.pdf
Newcomer (<20 posts) alert: please use the URL tags - HB
The distance is defined in the "<" (less than) node. The other two in the "if" node define the Size in the "Set Data" node.
So in the below tree, the led's has a size of 0.1, if a distance to a flocking particle is below 2. Otherwise Size is 0.
t
Re: Turn instances on/off with (em)flocking
Thanks. I'll read the grasshoper manual to see it is easier for me to understand the concepts.
Who is online
Users browsing this forum: No registered users and 42 guests