Skip to content

Commit

Permalink
Update gallery items to utilize latest features
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Oct 12, 2024
1 parent e853694 commit 3a21ce3
Show file tree
Hide file tree
Showing 236 changed files with 321 additions and 553 deletions.
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/GRIN-slab.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,5 @@
"y": 483.9899180908078
},
"scale": 1,
"name": "{{GRIN-slab}}",
"title": "渐变折射率平板"
"name": "渐变折射率平板"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/NL-simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,5 @@
"y": 877.8549990900746
},
"scale": 1,
"name": "{{NL-simulation}}",
"title": "NL 双筒望远镜"
"name": "NL 双筒望远镜"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/aplanatic-points.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,5 @@
"y": 1523.6425564126162
},
"scale": 1,
"name": "{{aplanatic-points}}",
"title": "等光程点"
"name": "等光程点"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/apparent-depth.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,5 @@
"y": 71.9
},
"scale": 1,
"name": "{{apparent-depth}}",
"title": "视深度"
"name": "视深度"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/beam-directors.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,5 @@
"y": 215.4517791218074
},
"scale": 1,
"name": "{{beam-directors}}",
"title": "光束导向器"
"name": "光束导向器"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/beam-expanders.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 5,
"name": "{{beam-expanders}}",
"name": "扩束镜",
"objs": [
{
"type": "IdealLens",
Expand Down Expand Up @@ -144,6 +144,5 @@
"x": -94.58646616541341,
"y": -99.65563909774437
},
"scale": 1,
"title": "扩束镜"
"scale": 1
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/bended-pencil.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
"y": 405.97089028460323
},
"scale": 1,
"name": "{{bended-pencil}}",
"backgroundImage": "bended-pencil-background.png",
"title": "弯曲的铅笔"
"name": "弯曲的铅笔",
"backgroundImage": "bended-pencil-background.png"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/black-cat-becomes-white.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@
"y": 1210.1784161490682
},
"scale": 1,
"name": "{{black-cat-becomes-white}}",
"backgroundImage": "black-cat-becomes-white-background.png",
"title": "「黑猫变白猫」演示"
"name": "「黑猫变白猫」演示",
"backgroundImage": "black-cat-becomes-white-background.png"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/branched-flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,5 @@
"y": -103.60224591966603
},
"scale": 1,
"name": "{{branched-flow}}",
"title": "分支流"
"name": "分支流"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/broken-pencil.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@
"y": 387.6012114382306
},
"scale": 1,
"name": "{{broken-pencil}}",
"backgroundImage": "broken-pencil-background.png",
"title": "断裂的铅笔"
"name": "断裂的铅笔",
"backgroundImage": "broken-pencil-background.png"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/camera-obscura.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,5 @@
"y": -8.005754960553588
},
"scale": 1,
"name": "{{camera-obscura}}",
"title": "暗箱"
"name": "暗箱"
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{caustics-from-a-reflective-sphere}}",
"title": "反射性球体的焦散"
"name": "反射性球体的焦散"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/chaff-countermeasure.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,5 @@
"y": 599.352086802087
},
"scale": 1,
"name": "{{chaff-countermeasure}}",
"title": "干扰箔"
"name": "干扰箔"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/chromatic-aberration.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{chromatic-aberration}}",
"title": "色像差"
"name": "色像差"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/chromatic-dispersion.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{chromatic-dispersion}}",
"title": "色散"
"name": "色散"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/compound-microscope.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,5 @@
"y": 79.87890987581412
},
"scale": 1,
"name": "{{compound-microscope}}",
"title": "复式显微镜"
"name": "复式显微镜"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/concave-lens.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,5 @@
"y": 658.5192683356722
},
"scale": 1,
"name": "{{concave-lens}}",
"title": "凹透镜"
"name": "凹透镜"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/concave-mirror-wearable-display.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{concave-mirror-wearable-display}}",
"title": "凹面镜可穿戴显示器"
"name": "凹面镜可穿戴显示器"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/convex-lens.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 5,
"name": "{{convex-lens}}",
"name": "凸透镜",
"objs": [
{
"type": "SphericalLens",
Expand Down Expand Up @@ -79,6 +79,5 @@
"x": 1234.3602113369022,
"y": 587.2073615756722
},
"scale": 1,
"title": "凸透镜"
"scale": 1
}
6 changes: 3 additions & 3 deletions src/webpages/cn/gallery/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
{
"id": "chaff-countermeasure",
"contributors": [
"Stas Fainer"
"Stas Fainer", "Yi-Ting Tu"
],
"title": "干扰箔",
"description": "<p>这是一个箔片反射对雷达效应的定性模拟(忽略衍射效应)。</p>"
Expand Down Expand Up @@ -363,7 +363,7 @@
{
"id": "GRIN-slab",
"contributors": [
"Stas Fainer"
"Stas Fainer", "Yi-Ting Tu"
],
"title": "渐变折射率平板",
"description": "<p>模拟折射率 \\(n(\\rho) = n_0 \\sqrt{1-(\\alpha \\rho)^2}\\)的介电材料,其中 \\(n_0\\) 是其中央轴的折射率,\\(\\rho \\) 是从其中央轴的径向距离,使得 \\(\\alpha=\\frac{\\sqrt{3}}{2R} \\),其中 \\(R=100 \\) 是其半径。上方的介电材料为一系列的薄矩形,每个矩形具有恒定的折射率(根据前述 \\(n(\\rho)\\) 的式子)。下方的介电材料是折射率为\\(n(\\rho)\\)的渐变折射率材料。 </p>"
Expand Down Expand Up @@ -395,7 +395,7 @@
{
"id": "luneburg-lens",
"contributors": [
"Stas Fainer"
"Stas Fainer", "Yi-Ting Tu"
],
"title": "龙勃透镜",
"description": "<p>龙勃透镜(Luneburg lens)是一个球形介电材料,折射率为 \\(n(\\rho) = \\sqrt{n_0-(\\frac{\\rho}{R})^2} \\),其中 \\(n_0=2\\) 是其球心的折射率,\\(R=100\\) 是球的半径,\\(\\rho\\) 是与球心的距离。 </p><p>上方的介电材料为由 \\(N=20\\) 个同心球组成的龙勃透镜,半径 \\(R_i=5(N+1-i)\\),折射率 \\(n_i = \\sqrt{n_0-(\\frac{R_i}{R})^2} \\),其中 \\(i=1,...,N\\)。然而,由于此模拟器会将互相重叠的光学元件的折射率相乘,所以第 \\(i\\) 个同心球形镜的数值折射率为 \\(n_{i}^\\text{numerical}=\\frac{n_i}{n_{i-1}}\\)。 </p><p>下方的介电材料是折射率为\\(n(r)\\)的渐变折射率材料。 </p>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{dichroic-rbg-splitter-and-combiner}}",
"title": "二色性RGB分光器与合光器"
"name": "二色性RGB分光器与合光器"
}
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{einstein-ring-refocused-to-single-image-via-eyepiece}}",
"title": "经由目镜将爱因斯坦环重新聚焦为单一影像"
"name": "经由目镜将爱因斯坦环重新聚焦为单一影像"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/fresnel-lens.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 5,
"name": "{{fresnel-lens}}",
"name": "菲涅耳透镜",
"modules": {
"FresnelLens": {
"numPoints": 2,
Expand Down Expand Up @@ -136,6 +136,5 @@
"x": -592.6404282550802,
"y": -201.1562930131771
},
"scale": 1,
"title": "菲涅耳透镜"
"scale": 1
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/gan-based-lcd-pixel.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,5 @@
},
"scale": 1,
"simulateColors": true,
"name": "{{gan-based-lcd-pixel}}",
"title": "液晶显示器像素"
"name": "液晶显示器像素"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/hyperbolic-lens.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,5 @@
"y": 1524.3702610244623
},
"scale": 1,
"name": "{{hyperbolic-lens}}",
"title": "双曲透镜"
"name": "双曲透镜"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/hyperbolic-mirror.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,5 @@
"y": 68.27868584504733
},
"scale": 1,
"name": "{{hyperbolic-mirror}}",
"title": "双曲面镜"
"name": "双曲面镜"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/images-formed-by-two-mirrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,5 @@
"y": 100.47857142857148
},
"scale": 1,
"name": "{{images-formed-by-two-mirrors}}",
"title": "两面镜子成像"
"name": "两面镜子成像"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/inferior-mirage.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 5,
"name": "{{inferior-mirage}}",
"name": "下蜃景",
"objs": [
{
"type": "Ruler",
Expand Down Expand Up @@ -295,6 +295,5 @@
"x": 336.04494830125213,
"y": 138.31747905060888
},
"scale": 1,
"title": "下蜃景"
"scale": 1
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/internal-reflection.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@
"y": -226.4779819320001
},
"scale": 1,
"name": "{{internal-reflection}}",
"title": "全反射"
"name": "全反射"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/interrogation-room.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,5 @@
"y": -17.26591738399503
},
"scale": 1,
"name": "{{interrogation-room}}",
"title": "审讯室"
"name": "审讯室"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/keplerian-telescope.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,5 @@
"y": 568.7345616434184
},
"scale": 1,
"name": "{{keplerian-telescope}}",
"title": "开普勒望远镜"
"name": "开普勒望远镜"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/lens-images.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,5 @@
"y": 113.28387096774179
},
"scale": 1,
"name": "{{lens-images}}",
"title": "透镜成像"
"name": "透镜成像"
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/logarithmic-spiral-lens.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,5 @@
"y": 567.9151383653915
},
"scale": 1,
"name": "{{logarithmic-spiral-lens}}",
"title": "等角螺线形的光线路径"
"name": "等角螺线形的光线路径"
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/luneburg-lens.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 5,
"name": "{{luneburg-lens}}",
"name": "龙勃透镜",
"modules": {
"ApproxLuneburg": {
"numPoints": 1,
Expand Down Expand Up @@ -153,6 +153,5 @@
"x": -82.55258077626519,
"y": 32.16567432093774
},
"scale": 1,
"title": "龙勃透镜"
"scale": 1
}
5 changes: 2 additions & 3 deletions src/webpages/cn/gallery/maxwell-fisheye-lens.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 5,
"name": "{{maxwell-fisheye-lens}}",
"name": "麦克斯韦鱼眼透镜",
"modules": {
"ApproxFisheye": {
"numPoints": 1,
Expand Down Expand Up @@ -164,6 +164,5 @@
"x": -82.55258077626519,
"y": 32.16567432093774
},
"scale": 1,
"title": "麦克斯韦鱼眼透镜"
"scale": 1
}
3 changes: 1 addition & 2 deletions src/webpages/cn/gallery/maze-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,5 @@
"y": 257.94773004772975
},
"scale": 1,
"name": "{{maze-solution}}",
"title": "用一条光线解迷宫"
"name": "用一条光线解迷宫"
}
Loading

0 comments on commit 3a21ce3

Please sign in to comment.