Skip to content

Commit 26350e6

Browse files
committed
Add navigation links for VTK.js tutorial
1 parent 005cb72 commit 26350e6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tutorials/heat-conduction-2d-fin-vtk.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<html>
1313
<head>
14-
<title>FEAScript: Heat Conduction in a 2D Fin (VTK.js) Tutorial</title>
14+
<title>FEAScript: Heat Conduction in a 2D Fin Tutorial (VTK.js)</title>
1515
<link rel="icon" type="image/x-icon" href="../assets/favicon.ico" />
1616
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1717
<meta
@@ -136,7 +136,12 @@ <h1 class="top">
136136
</ul>
137137
</div>
138138
</h1>
139-
<h1>Heat Conduction in a 2D Fin — VTK.js Visualization</h1>
139+
<h1>Heat Conduction in a 2D Fin Tutorial (VTK.js)</h1>
140+
141+
<ul id="menu">
142+
<li><a href="#usingvtkjsinsteadofplotly">Using VTK.js Instead of Plotly</a></li>
143+
<li><a href="#results">Results</a></li>
144+
</ul>
140145

141146
<div class="highlight-container">
142147
<p>
@@ -148,7 +153,7 @@ <h1>Heat Conduction in a 2D Fin — VTK.js Visualization</h1>
148153
</p>
149154
</div>
150155

151-
<h2>Using VTK.js Instead of Plotly</h2>
156+
<h2 id="usingvtkjsinsteadofplotly">Using VTK.js Instead of Plotly</h2>
152157
<p>
153158
To use VTK.js for visualization, two changes are needed compared to the
154159
<a href="https://feascript.com/tutorials/heat-conduction-2d-fin.html">Plotly-based tutorial</a>. First,
@@ -199,7 +204,7 @@ <h2>Using VTK.js Instead of Plotly</h2>
199204
});</pre
200205
>
201206

202-
<h2>Results</h2>
207+
<h2 id="results">Results</h2>
203208
<p>
204209
The 2D contour plot below shows the computed temperature distribution rendered in real time using
205210
FEAScript with VTK.js. The interactive canvas supports pan, zoom, and rotate.

0 commit comments

Comments
 (0)