Creating spiral sphere
1959 2 4- art3mis
- Member
- 350 posts
- Joined: June 2016
- Offline
Trying to model a ‘spiral sphere’ similar to the outer spiral in this image
https://i.stack.imgur.com/2fRhQ.png [i.stack.imgur.com]
And then animate its growth from the bottom to top.
Would it be best to accomplish this entirely thru code/Vex or is there some combination of SOPs that will create the same end result?
https://i.stack.imgur.com/2fRhQ.png [i.stack.imgur.com]
And then animate its growth from the bottom to top.
Would it be best to accomplish this entirely thru code/Vex or is there some combination of SOPs that will create the same end result?
- PaQ WaK
- Member
- 89 posts
- Joined: Jan. 2015
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
You can turn a vertical line with lots of subdivisions into a spherical spiral with sample_sphere_uniform():
For making it grow, just delete less and less points over time:
float turns = chf('turns'); float u = @ptnum / float(@numpt - 1); float v = u * turns % 1.0; vector uvw = set(v, u, 1.0); @P = sample_sphere_uniform(uvw); @P = @P.xzy;
For making it grow, just delete less and less points over time:
float remove = @Time * chf('speed'); if(1 - u > remove) removepoint(0, @ptnum);
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
-
- Quick Links