Jump to content

Magnetic chain, best approach?


caskal

Recommended Posts

Ask chat...

Quote

inside houdini, I have equal height cylinders sitting on a ground plane. They are arranged in a pattern spiraling inward. I'm trying to create a visual effect where the outer, first cylinder becomes magnetized and dynamically attracts each neighboring cylinder, physically connecting, eventually forming a straight line of cylinders at the end.

I didn't get an exact solution out of ChatGPT, but I did ask it to write Houdini python code to generate a scene. Perhaps there is something in here you could lift?

magnet.gif

ap_spiral_to_magnetic_line_051526.hiplc

  • Like 1
Link to comment
Share on other sites

Hi guys,

@Atom I've tried claude, some nice overall instructions but the python scene was pretty broken.

This is what I have so far, at least i got a better understanding on how to approach it.

 

 

 

That said, Louis Manjares on Facebook (which also gave me some hints) tackled the reference exactly, love his result:

 

Cheers!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...