Jump to content

Tetrahedron Growth


tanx

Recommended Posts

I'm sort of new to Houdini and coding and am in a bit of trouble with an animation I'm trying to develop and would love to do it in vex

 

Basically the idea is a triangle births a tetrahedron by creating a random point on the surface moving it one variable length away from the surface. then a random side of the tetrahedron and another point is added to the surface which then moves in the same variable length away from that surface. The process repeats like a virus growing. 
 
Some of things I'm taking into consideration is:
 
1. how is a vector direction chosen that is not inside the geometry but outwards from the facet chosen
2. how to propagate the geometry variably with not just one side chosen every time the next tetrahedron is completed
3. how to stop the animation variably 
 
I'm very new to vex and haven't really given coding any though since college which was 20 years ago.
 
I attached a test animation that i hand animated.

preview2.mp4

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...