Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples of Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Cellular Automata
Chemistry
Complex Systems
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Finite Element Method
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Time-Related Computation
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Example
Learn More about
Wolfram Language
Related Pages
Related Symbols
Tour3DVideo
Related Categories
Cellular Automata
Video Processing
Visualization & Graphics
Video Tour of a 3D Cellular Automaton Mesh
Interpolate through points to chart a path around a mesh
Example Notebook
Open in Cloud
Download Notebook
Start with the cellular automaton mesh:
I
n
[
1
]
:
=
m
e
s
h
=
;
Define a set of points around the scene and find the shortest tour to navigate between them:
I
n
[
2
]
:
=
p
o
i
n
t
s
=
T
u
p
l
e
s
[
{
1
1
.
5
,
3
,
2
0
}
,
3
]
;
t
r
a
j
e
c
t
o
r
y
=
p
o
i
n
t
s
〚
L
a
s
t
[
F
i
n
d
S
h
o
r
t
e
s
t
T
o
u
r
[
p
o
i
n
t
s
]
]
〛
;
c
a
2
=
S
h
o
w
[
m
e
s
h
,
G
r
a
p
h
i
c
s
3
D
[
{
W
h
i
t
e
,
P
o
i
n
t
S
i
z
e
[
0
.
0
3
]
,
P
o
i
n
t
[
p
o
i
n
t
s
]
,
T
h
i
c
k
,
M
a
g
e
n
t
a
,
L
i
n
e
[
t
r
a
j
e
c
t
o
r
y
]
}
]
]
O
u
t
[
2
]
=
Interpolate through the shortest path:
I
n
[
3
]
:
=
d
u
r
a
t
i
o
n
=
2
5
.
;
f
u
n
c
=
I
n
t
e
r
p
o
l
a
t
i
o
n
T
h
r
e
a
d
t
i
m
e
s
,
t
r
a
j
e
c
t
o
r
y
,
M
e
t
h
o
d
"
S
p
l
i
n
e
"
;
S
h
o
w
[
c
a
2
,
P
a
r
a
m
e
t
r
i
c
P
l
o
t
3
D
[
f
u
n
c
[
t
]
,
{
t
,
0
,
d
u
r
a
t
i
o
n
}
,
P
l
o
t
S
t
y
l
e
O
r
a
n
g
e
]
]
O
u
t
[
3
]
=
Define a function that returns the camera and subject position and the view angle at each interval:
I
n
[
4
]
:
=
v
i
e
w
F
u
n
c
t
i
o
n
[
t
_
]
:
=
"
V
i
e
w
A
n
g
l
e
"
9
0
D
e
g
r
e
e
,
"
V
i
e
w
V
e
r
t
i
c
a
l
"
{
0
,
0
,
1
}
,
"
C
a
m
e
r
a
P
o
s
i
t
i
o
n
"
f
u
n
c
[
t
]
,
"
S
u
b
j
e
c
t
P
o
s
i
t
i
o
n
"
(
f
u
n
c
'
[
t
]
+
f
u
n
c
[
t
]
)
/
1
0
+
{
1
0
,
1
0
,
1
0
}
Create the tour around the mesh:
I
n
[
5
]
:
=
P
a
r
a
l
l
e
l
i
z
e
[
T
o
u
r
3
D
V
i
d
e
o
[
m
e
s
h
,
v
i
e
w
F
u
n
c
t
i
o
n
,
D
e
f
a
u
l
t
D
u
r
a
t
i
o
n
d
u
r
a
t
i
o
n
]
]
O
u
t
[
5
]
=
Source Metadata
Citation:
Glam-ifying 3D graphics: simple video animations and techniques, Anika Patel, Wolfram Community, STAFF PICKS, June 7, 2023
Related Symbols
Tour3DVideo
Publisher Information
Contributed by:
Wolfram Staff