Skip to content

Commit

Permalink
Add caustics-from-a-reflective-sphere (by Georg Nadorff)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Feb 15, 2024
1 parent fc8fe0d commit 6a831a8
Show file tree
Hide file tree
Showing 21 changed files with 790 additions and 4 deletions.
1 change: 1 addition & 0 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ <h3><img src="icon128.png" alt="Icon" width="64" height="64"><br>
<li>Young-Gi Kim (ko translations)</li>
<li>Tharusha Theekshana (si translations)</li>
<li>chuangyu J (gallery)</li>
<li>Georg Nadorff (gallery)</li>
</ul>
(GitHub contributors first; others sorted chronologically.)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions cn/gallery/caustics-from-a-reflective-sphere.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
 <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>反射性球体的焦散 - 射线光学模拟</title>
<meta property="og:title" content="反射性球体的焦散 - 射线光学模拟">
<meta property="og:type" content="website">
<meta property="og:url" content="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere">
<meta property="og:image" content="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere-thumbnail.png">
<meta property="og:description" content="自由、开源的网页程序,用于建立及模拟二维几何光学场景。">
<meta property="og:locale" content="zh-CN">
<link rel="canonical" href="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere">
<link rel="alternate" href="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere" hreflang="en">
<link rel="alternate" href="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere" hreflang="zh-CN">
<link rel="alternate" href="https://phydemo.app/ray-optics/tw/gallery/caustics-from-a-reflective-sphere" hreflang="zh-TW">

<link rel="stylesheet" href="../../thirdparty/bootstrap-3.3.7/bootstrap.min.css">
<link rel="stylesheet" href="gallery.css">
<link rel="icon" href="../../icon128.png" type="image/png">
</head>
<body>
<div class="navbar navbar-fixed-top container" style="background-color:white;max-height:90px;overflow:hidden">
<a href="https://phydemo.app/ray-optics/cn/" class="navbar-left brand">
<img src="../../icon128.png" alt="" style="width:18pt; height:18pt">
射线光学模拟
</a>
<div class="navbar-right">

<span class="navul">
<a href="https://phydemo.app/ray-optics/cn/">首页</a>
<a href="https://phydemo.app/ray-optics/cn/gallery/" class="active">作品集</a>
<a href="https://phydemo.app/ray-optics/about">关于</a>
</span>
<span class="github-button-container">
<a class="github-button" href="https://github.com/ricktu288/ray-optics" data-show-count="true" aria-label="Star ricktu288/ray-optics on GitHub">Star</a>
</span>
</div>
</div>
<div class="container">
<center>
<h1><b><span>反射性球体的焦散</span></b></h1>
<p>
贡献者:Georg Nadorff
</p>
<div class="description">
<p>一个反射性的积分球。也可以是液滴(如雨滴)中的反射。移动点光源的位置可以看到许多漂亮的图样。</p>
</div>
<p>
<a href="https://phydemo.app/ray-optics/simulator/?zh-CN#../cn/gallery/caustics-from-a-reflective-sphere" target="_blank" class="btn btn-success btn-lg">在模拟器中打开</a>
</p>
<img src="caustics-from-a-reflective-sphere.png" alt="反射性球体的焦散" style="width:100%">
</center>

<div style="float: right; padding-top: 10px;">
<div class="dropup">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
<span id="language">语言:简体中文</span>
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere">English</a></li><li><a href="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere">简体中文</a></li><li><a href="https://phydemo.app/ray-optics/tw/gallery/caustics-from-a-reflective-sphere">正體中文</a></li>
</ul>
</div>
</div>
</div>
</div>
<script src="../../thirdparty/jquery.min.js"></script>
<script src="../../thirdparty/bootstrap-3.3.7/bootstrap.min.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</body>
</html>
168 changes: 168 additions & 0 deletions cn/gallery/caustics-from-a-reflective-sphere.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"version": 2,
"objs": [
{
"type": "arcmirror",
"p1": {
"type": 1,
"x": 699.9773664931605,
"y": 602.3560439560447,
"exist": true
},
"isDichroic": false,
"isDichroicFilter": false,
"p2": {
"type": 1,
"x": 697.8619047619047,
"y": 678.3238095238096,
"exist": true
},
"p3": {
"type": 1,
"x": 695,
"y": 512,
"exist": true
}
},
{
"type": "radiant",
"x": 757.9773664931608,
"y": 652.3560439560447,
"p": 0.5
},
{
"type": "blackline",
"p1": {
"type": 1,
"x": 605.0000000000001,
"y": 744.3333333333334,
"exist": true
},
"p2": {
"type": 1,
"x": 471.06190476190505,
"y": 743.9904761904763,
"exist": true
}
},
{
"type": "blackcircle",
"p1": {
"type": 1,
"x": 201.97736649316084,
"y": 382.3560439560447,
"exist": true
},
"p2": {
"type": 1,
"x": 241.97736649316084,
"y": 412.3560439560447,
"exist": true
}
},
{
"type": "text",
"x": 962.6440331598274,
"y": 620.3560439560447,
"p": "移动点光源以观看焦散及节点\n在积分球中是如何变换的。\n改变遮光物的大小与位置,\n以及球的开口大小来观察更多效果。",
"fontSize": 40,
"fontName": "Serif",
"fontStyle": "Normal",
"fontAlignment": "left",
"fontSmallCaps": false,
"fontAngle": 0
},
{
"type": "line",
"p1": {
"type": 1,
"x": 940.6440331598274,
"y": 610.3560439560447,
"exist": true
},
"p2": {
"type": 1,
"x": 778.6440331598274,
"y": 658.3560439560447,
"exist": true
},
"arrow1": true,
"arrow2": false
},
{
"type": "cropbox",
"p1": {
"type": 1,
"x": -1613.3464430306476,
"y": -429.1106227106218,
"exist": true
},
"p2": {
"type": 1,
"x": 2014.6535569693524,
"y": -429.1106227106218,
"exist": true
},
"p3": {
"type": 1,
"x": -1613.3464430306476,
"y": 1668.4893772893781,
"exist": true
},
"p4": {
"type": 1,
"x": 2014.6535569693524,
"y": 1668.4893772893781,
"exist": true
},
"width": 1140,
"format": "png"
},
{
"type": "cropbox",
"p1": {
"type": 1,
"x": -1380.3464430306476,
"y": -475.5106227106219,
"exist": true
},
"p2": {
"type": 1,
"x": 803.6535569693524,
"y": -475.5106227106219,
"exist": true
},
"p3": {
"type": 1,
"x": -1380.3464430306476,
"y": 1708.4893772893781,
"exist": true
},
"p4": {
"type": 1,
"x": 803.6535569693524,
"y": 1708.4893772893781,
"exist": true
},
"width": 500,
"format": "png"
}
],
"mode": "light",
"rayDensity_light": 20.085536923187668,
"rayDensity_images": 1,
"showGrid": false,
"grid": false,
"lockobjs": false,
"gridSize": 20,
"observer": null,
"origin": {
"x": 541.3366107576619,
"y": 186.87765567765547
},
"scale": 0.25,
"width": 1200,
"height": 700,
"colorMode": true,
"symbolicGrin": false
}
Binary file added cn/gallery/caustics-from-a-reflective-sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions cn/gallery/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@
],
"title": "干扰箔",
"description": "<p>这是一个箔片反射对雷达效应的定性模拟(忽略衍射效应)。 <a href=\"https://phydemo.app/ray-optics/gallery/chaff-countermeasure.py\" target=\"_blank\">创建箔片的脚本</a></p>"
},
{
"id": "caustics-from-a-reflective-sphere",
"contributors": [
"Georg Nadorff"
],
"title": "反射性球体的焦散",
"description": "<p>一个反射性的积分球。也可以是液滴(如雨滴)中的反射。移动点光源的位置可以看到许多漂亮的图样。</p>"
}
]
},
Expand Down
9 changes: 8 additions & 1 deletion cn/gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@ <h2>光的反射</h2>
<p class="example-contributor">Stas Fainer</p>
</div>
</a>
<a href="caustics-from-a-reflective-sphere" class="thumbnail example-container">
<img src="caustics-from-a-reflective-sphere-thumbnail.png" alt="Thumbnail" class="img-rounded example-image" loading="lazy">
<div class="caption">
<p class="example-title">反射性球体的焦散</p>
<p class="example-contributor">Georg Nadorff</p>
</div>
</a>

<br>
<a name="refraction" class="anchor">&nbsp;</a>
Expand Down Expand Up @@ -584,7 +591,7 @@ <h2>其他</h2>
<span id="language">语言:简体中文</span>
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://phydemo.app/ray-optics/gallery/">English</a></li><li><a href="https://phydemo.app/ray-optics/pl/gallery/">polski <span style="color:gray">(95% 已翻译)</span></a></li><li><a href="https://phydemo.app/ray-optics/cn/gallery/">简体中文 <span style="color:gray">(100% 已翻译)</span></a></li><li><a href="https://phydemo.app/ray-optics/tw/gallery/">正體中文 <span style="color:gray">(100% 已翻译)</span></a></li>
<li><a href="https://phydemo.app/ray-optics/gallery/">English</a></li><li><a href="https://phydemo.app/ray-optics/pl/gallery/">polski <span style="color:gray">(93% 已翻译)</span></a></li><li><a href="https://phydemo.app/ray-optics/cn/gallery/">简体中文 <span style="color:gray">(100% 已翻译)</span></a></li><li><a href="https://phydemo.app/ray-optics/tw/gallery/">正體中文 <span style="color:gray">(100% 已翻译)</span></a></li>
</ul>
</div>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions gallery/caustics-from-a-reflective-sphere.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
 <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Caustics from a Reflective Sphere - Ray Optics Simulation</title>
<meta property="og:title" content="Caustics from a Reflective Sphere - Ray Optics Simulation">
<meta property="og:type" content="website">
<meta property="og:url" content="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere">
<meta property="og:image" content="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere-thumbnail.png">
<meta property="og:description" content="A free, open-source web app for creating and simulating 2D geometric optical scenes.">
<meta property="og:locale" content="en">
<link rel="canonical" href="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere">
<link rel="alternate" href="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere" hreflang="en">
<link rel="alternate" href="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere" hreflang="zh-CN">
<link rel="alternate" href="https://phydemo.app/ray-optics/tw/gallery/caustics-from-a-reflective-sphere" hreflang="zh-TW">

<link rel="stylesheet" href="../thirdparty/bootstrap-3.3.7/bootstrap.min.css">
<link rel="stylesheet" href="gallery.css">
<link rel="icon" href="../icon128.png" type="image/png">
</head>
<body>
<div class="navbar navbar-fixed-top container" style="background-color:white;max-height:90px;overflow:hidden">
<a href="https://phydemo.app/ray-optics/" class="navbar-left brand">
<img src="../icon128.png" alt="" style="width:18pt;height:18pt">
Ray Optics Simulation
</a>
<div class="navbar-right">
<span class="navul">
<a href="https://phydemo.app/ray-optics/">Home</a>
<a href="https://phydemo.app/ray-optics/gallery/" class="active">Gallery</a>
<a href="https://phydemo.app/ray-optics/about">About</a>
</span>
<span class="github-button-container">
<a class="github-button" href="https://github.com/ricktu288/ray-optics" data-show-count="true" aria-label="Star ricktu288/ray-optics on GitHub">Star</a>
</span>
</div>
</div>
<div class="container">
<center>
<h1><b><span>Caustics from a Reflective Sphere</span></b></h1>
<p>
Contributor: Georg Nadorff
</p>
<div class="description">
<p>A reflective integrating sphere (not scattering) with an entrance hole. Can also be the reflections inside a liquid drop (like a raindrop). Beautiful patterns emerge where the caustics develop by moving the point source around.</p>
</div>
<p>
<a href="https://phydemo.app/ray-optics/simulator/#caustics-from-a-reflective-sphere" target="_blank" class="btn btn-success btn-lg">Open in Simulator</a>
</p>
<img src="caustics-from-a-reflective-sphere.png" alt="Caustics from a Reflective Sphere" style="width:100%">
</center>

<div style="float: right; padding-top: 10px;">
<div class="dropup">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
<span id="language">Language: English</span>
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://phydemo.app/ray-optics/gallery/caustics-from-a-reflective-sphere">English</a></li><li><a href="https://phydemo.app/ray-optics/cn/gallery/caustics-from-a-reflective-sphere">简体中文</a></li><li><a href="https://phydemo.app/ray-optics/tw/gallery/caustics-from-a-reflective-sphere">正體中文</a></li>
</ul>
</div>
</div>
</div>
</div>
<script src="../thirdparty/jquery.min.js"></script>
<script src="../thirdparty/bootstrap-3.3.7/bootstrap.min.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</body>
</html>
Loading

0 comments on commit 6a831a8

Please sign in to comment.