Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create point coordinates placed on a completely closed circle

Message 1 of 4
251 Views, 3 Replies

How to create point coordinates placed on a completely closed circle

I have been playing with Bifrost for about 6 months and this time I wanted to output the coordinates of a circle as points and use create instances and strands basis to orientation to create an object where the instance object extends radially from the center of the circle.


I tried to find the coordinates of the circle, output the points, and connect the above nodes, but oddly enough, the first and last indexes are always pointing in the wrong direction.



As you can see, I couldn't think of an efficient way to convert coordinates on a circle to points, so I forced myself to do it.

If there is a better way than this, please let me know.

Also, why do only the first and last of the instantiated objects have a different orientation than the others?


Message 2 of 4

Hey @ta_matsuo9KEPL 

What you are running into there is to close a strand, it's end point much be also it's start point, thereby creating 2 points at the start.

Here's a reasonably simple workaround ... Note:  it's only going to work on circles

What I am doing is generating n points in circle, using that to generate orientations, then applying those to the instances - feel free to dive in and take a look.



Jason Brown
Software Developer, Bifrost
Message 3 of 4

I think this is a really great solution. It is perfect.
Thank you very much!

Message 4 of 4

No worries!!!!

Jason Brown
Software Developer, Bifrost

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report