How to create Animated Pin Art effect
#1
Photo 
 How to create Pin Art effect - particles move on single axis based on proximity to animated object.


What I'm trying to achieve:
I want to recreate a pin art toy effect in tyFlow. I have:
  • A grid of particles (the "pins")
  • An animated object moving through the grid
  • Pins should extend/push in ONE direction (Z-axis only) when the animated object gets close to them
  • Pins should retract back to their original position when the object moves away
  • Particles should stay locked to their original X,Y positions - only Z should change
What I've tried:
  1. Surface Test approach - but particles that fail the test keep moving/drifting forever. I can't figure out how to loop particles back to a previous event since "Send Out" only goes forward to new events.
  2. Find Target operator - this moves particles toward the object but in all three axes. I need movement constrained to Z-axis only while keeping original X,Y positions locked.
  3. Position Object with axis locks - can't get this to work with continuous updates based on proximity to an animated object.
Core problem:
How do I make particles move along only ONE axis (Z) in response to an animated object's proximity, while maintaining their original grid X,Y positions? The particles should extend like pins when the object is near, and return to rest when it moves away.
What's the proper workflow/operator setup for this type of single-axis, proximity-based displacement?
Thanks in advance for any help!


Attached Files Thumbnail(s)
   
  Reply
#2
Hey Nomad,

I tried this and found that using Custom Properties and storing the starting Transformation Matrix ™ of the grid particles works really well. You can send those out to an event to give the particles a speed in the Z axis, and then send them out again to return them to their start positions using another CustomTM. Please see attached video. Hope that helps!


Attached Files
.mp4   tyflowpin.mp4 (Size: 1.72 MB / Downloads: 162)
  Reply
#3
Hi Betamax.

Thanks for the previous tips! I'm getting some results but it's still a bit crude. I'm running into a few issues:

Problem 1: Particles become inactive after looping When particles reach the final event and return to the start position, they're no longer active. So if my animated teapot re-enters the field, the simulation stops responding - the particles don't react to it a second time.

Problem 2: Particles move through rotating objects The lift/extension doesn't work well when the teapot rotates. Particles pass straight through it on their way back to start position, losing the shape of the object entirely. I think the system needs to be all in one event flow to keep everything continuously active?

Problem 3: Collision issues I tried using Collision and Speed operators to push particles back, but:

    The collision seems to shift particles slightly on the X and Y axes (they drift from their grid positions)
    Particles go through the floor even when I use a Collision box set to "Stop"

Current workaround: The best solution I've found so far is using a grid with the new Conform modifier. The teapot deforms the grid, then I place particles and attach them to the grid vertices in tyFlow. This works but feels like a workaround rather than a proper particle-based solution.

What I need: A way to keep particles continuously active and responsive while maintaining their grid X,Y positions, with only Z-axis movement based on proximity to an animated, rotating object.

Any tips on how to structure this properly in tyFlow would be very welcome!


Attached Files Thumbnail(s)
   
  Reply


Forum Jump: