@@ -29,28 +29,21 @@ GLMakie.closeall()
2929fig = Figure (size= (1200 ,800 ))
3030
3131stepRange = 0 : 1 : 50
32- hSlider = Slider (fig[2 , :], range = stepRange, startvalue = 0 ,linewidth= 30 )
32+ ax1 = AxisGeom (fig[1 , 1 ], title = " V = V + N*0" )
33+ hp1 = meshplot! (ax1, F1, V1)
3334
34- titleString = lift (hSlider. value) do stepIndex
35- " V = V + N*" * string (stepIndex)
36- end
35+ ax2 = AxisGeom (fig[1 , 2 ], title = " V = V + N*0" )
36+ hp2 = meshplot! (ax2, F2, V2)
3737
38- M1 = lift (hSlider. value) do stepIndex
39- V1n = [V1[i]. + stepIndex.* NV1[i] for i ∈ eachindex (V1)]
40- return GeometryBasics. Mesh (V1n,F1)
41- end
38+ hSlider = Slider (fig[2 , :], range = stepRange, startvalue = 0 ,linewidth= 30 )
4239
43- M2 = lift (hSlider. value) do stepIndex
40+ on (hSlider. value) do stepIndex
41+ ax1. title = " V = V + N*" * string (stepIndex)
42+ ax2. title = " V = V + N*" * string (stepIndex)
43+ V1n = [V1[i]. + stepIndex.* NV1[i] for i ∈ eachindex (V1)]
4444 V2n = [V2[i]. + stepIndex.* NV2[i] for i ∈ eachindex (V2)]
45- return GeometryBasics. Mesh (V2n,F2)
45+ hp1[1 ] = GeometryBasics. Mesh (V1n, F1)
46+ hp2[1 ] = GeometryBasics. Mesh (V2n, F2)
4647end
4748
48- ax1 = AxisGeom (fig[1 , 1 ], title = titleString)
49- poly! (ax1,M1,strokewidth= 2 ,color= :white , shading = FastShading)
50-
51- ax2 = AxisGeom (fig[1 , 2 ], title = titleString)
52- poly! (ax2,M2,strokewidth= 2 ,color= :white , shading = FastShading)
53-
54- fig[2 , :]= hSlider
55-
5649fig
0 commit comments