Jump to content
Sign in to follow this  
csbeltram

How to grow squares along a random path?

Recommended Posts

Hello,

 

I'm wanting to make several "chains" of growing squares procedurally with MoGraph or XP. Basically, One square grows out to a random size, then a second square grows out from that one in a random size, then a third, fourth, etc. (See attached content) And then I want to grow multiples of these. Each with random paths and sizes. Thank you for any thoughts you may have. 

Petri_Chain_01.gif

Petri_Chain_Diagram.jpg

Share this post


Link to post

The difficult you've got there is that you need to change the axis for each move, which is not easily possible within a typical effector setup. I'll have a think about that - there must be ways around it...

 

CBR

Share this post


Link to post
  • Topic Author
  • Author of the topic Posted

    Thanks @Cerbera. What are your thoughts if it didn’t have to rotate direction? A big question had was how to make one clone butt up against the previous clone. The amount of time I’m putting not researching this I could hand make 30 different ones and throw them into a cloner. 😂

    Share this post


    Link to post
    Admin

    You can fake it if you need fewer objects with fracture like this

     

    rectangle_growth.c4d

     

    The problem is if you need real randomness and much more objects. Then your only choice is python effector. The core of the problem is knowing point value of previous clone to which you will clone another (essentially you are looking for a recursion)

    Share this post


    Link to post
  • Topic Author
  • Author of the topic Posted

    Thanks for the sample file@Hrvoje. Yes, I'm afraid the rabbit hole is deeper than I have time for right now. I've never looked into the Python effector. I understand what needs to happen programmatically, but just don't have the knowledge on exactly how to execute it right now. Again, I'm sure I can make several "random" chains, maybe animate them on a point level, then create a growing tunnel of chains with a cloner and plain effector controlling their time offset.

    Share this post


    Link to post

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    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.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×
    ×
    • Create New...

    FORUMS INFO:

    Dear members, we are aware of few more bugs that are still present withing the theme.We just wanted to let you know that we are working to fix them as soon as possible.
     

    NEW MEMBERS:

    Please be aware that we are manually approving all new registrations, due to spam prevention. Please be patient in case you cannot login right away, we will approve you within 12h or less if we decide you are not potential spammer. 

     

    Thanks for understanding! :cowboypistol: