Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Display a 3D model using a continuous line
ResourceFunction["ShortestTourArt3D"][model3D] takes the points from model3D, finds the shortest path between these points and plots a continuous line for this path. | |
ResourceFunction["ShortestTourArt3D"][model3D,n] only takes n points from model3D to plot the line that connects the points. |
Show shortest path lines connecting vertices in 3D graphics:
| In[1]:= |
| Out[1]= | ![]() |
Show only 3000 points with the original 3D model:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= | ![]() |
Generate an animation:
| In[4]:= | ![]() |
| Out[4]= | ![]() |
ShortestTourArt3D works for other types of 3D graphics that contain a GraphicsComplex:
| In[5]:= | ![]() |
| Out[5]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License