Skip to content

Commit

Permalink
Use custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Dec 6, 2022
1 parent 5f9b768 commit 630e630
Show file tree
Hide file tree
Showing 58 changed files with 520 additions and 520 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ After the steps above, The new tool can be tested by opening `simulator/index.ht
**Method 1: By e-mail**

1. Save you work as a `.json` file using the "Save" button. If your work contains text labels, the text should be in English. If your work contains a background image (which can be loaded with "Open"), it should be in a separate file.
2. Send the files to [email protected]. Include the name of your work and your name to be appear on the [list of contributors](https://ricktu288.github.io/ray-optics/about).
2. Send the files to [email protected]. Include the name of your work and your name to be appear on the [list of contributors](https://phydemo.app/ray-optics/about).

**Method 2: Via GitHub**

Expand Down Expand Up @@ -77,21 +77,21 @@ You can submit a complete or partial translation for a new language, make progre
```javascript
"welcome": {
"incomplete": true,
"message": "<span style=\"font-size:22pt\">Welcome to Ray Optics Simulation</span><br>To add an optical component, select a tool and click the blank space.<br>To load an example, please <a href=\"https://ricktu288.github.io/ray-optics/gallery/\">go to the Gallery page</a>."
"message": "<span style=\"font-size:22pt\">Welcome to Ray Optics Simulation</span><br>To add an optical component, select a tool and click the blank space.<br>To load an example, please <a href=\"https://phydemo.app/ray-optics/gallery/\">go to the Gallery page</a>."
},
```
becomes (for Traditional Chinese)
```javascript
"welcome": {
"message": "<span style=\"font-size:22pt\">歡迎使用「線光學模擬」</span><br>若要加入光學元件,請選擇工具並點擊空白處。<br>若要載入範例,<a href=\"https://ricktu288.github.io/ray-optics/gallery/\">請前往「作品集」頁面</a>。"
"message": "<span style=\"font-size:22pt\">歡迎使用「線光學模擬」</span><br>若要加入光學元件,請選擇工具並點擊空白處。<br>若要載入範例,<a href=\"https://phydemo.app/ray-optics/gallery/\">請前往「作品集」頁面</a>。"
},

```
After that, you can submit the translated file with either method below:

**Method 1: By e-mail**

3. Send the resulting file to [email protected] (you may need to replace the `.js` with `.txt` in the filename to make it attachable). Include the name of the language and your name to be appear on the [list of contributors](https://ricktu288.github.io/ray-optics/about).
3. Send the resulting file to [email protected] (you may need to replace the `.js` with `.txt` in the filename to make it attachable). Include the name of the language and your name to be appear on the [list of contributors](https://phydemo.app/ray-optics/about).

**Method 2: Via GitHub**

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ A web app for creating and simulating 2D geometric optical scenes. Our goal is t
- Export as SVG diagram

## Links
- [**Lanuch the Web App**](https://ricktu288.github.io/ray-optics/simulator/)
- [Gallery](https://ricktu288.github.io/ray-optics/gallery/)
- [**Lanuch the Web App**](https://phydemo.app/ray-optics/simulator/)
- [Gallery](https://phydemo.app/ray-optics/gallery/)
- [Documentation](https://github.com/ricktu288/ray-optics/wiki)
- [About](https://ricktu288.github.io/ray-optics/about)
- [About](https://phydemo.app/ray-optics/about)

# Contributing

Expand All @@ -42,7 +42,7 @@ Tu, Y.-T., & Sun, W.-F. (2016). Ray Optics Simulation [Computer software]. https
```
BibTeX:
```
@software{Tu_Ray_Optics_Simulation_2016,author = {Tu, Yi-Ting and Sun, Wei-Fang},doi = {10.5281/zenodo.6386611},month = {2},title = {{Ray Optics Simulation}},url = {https://ricktu288.github.io/ray-optics/},year = {2016}}
@software{Tu_Ray_Optics_Simulation_2016,author = {Tu, Yi-Ting and Sun, Wei-Fang},doi = {10.5281/zenodo.6386611},month = {2},title = {{Ray Optics Simulation}},url = {https://phydemo.app/ray-optics/},year = {2016}}
```

# License
Expand Down Expand Up @@ -116,7 +116,7 @@ The source code is available at: https://github.com/arthanzel/evaluatex
- 匯出為SVG圖形

## 連結
- [**啟動網頁程式**](https://ricktu288.github.io/ray-optics/simulator/)
- [作品集](https://ricktu288.github.io/ray-optics/gallery/)
- [**啟動網頁程式**](https://phydemo.app/ray-optics/simulator/)
- [作品集](https://phydemo.app/ray-optics/gallery/)
- [原始碼文件](https://github.com/ricktu288/ray-optics/wiki)
- [關於](https://ricktu288.github.io/ray-optics/about)
- [關於](https://phydemo.app/ray-optics/about)
14 changes: 7 additions & 7 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<title>Ray Optics Simulation - About</title>
<meta property="og:title" content="Ray Optics Simulation - About">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ricktu288.github.io/ray-optics/about">
<meta property="og:image" content="https://ricktu288.github.io/ray-optics/image.png">
<meta property="og:url" content="https://phydemo.app/ray-optics/about">
<meta property="og:image" content="https://phydemo.app/ray-optics/image.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://ricktu288.github.io/ray-optics/about">
<link rel="canonical" href="https://phydemo.app/ray-optics/about">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="icon" href="icon128.png" type="image/png">
<style>
Expand Down Expand Up @@ -88,16 +88,16 @@
<body>
<div class="navbar navbar-fixed-top container" style="background-color:white">

<a href="https://ricktu288.github.io/ray-optics/" class="navbar-left brand">
<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://ricktu288.github.io/ray-optics/">Home</a>
<a href="https://ricktu288.github.io/ray-optics/gallery/">Gallery</a>
<a href="https://ricktu288.github.io/ray-optics/about" class="active">About</a>
<a href="https://phydemo.app/ray-optics/">Home</a>
<a href="https://phydemo.app/ray-optics/gallery/">Gallery</a>
<a href="https://phydemo.app/ray-optics/about" class="active">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>
Expand Down
50 changes: 25 additions & 25 deletions cn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
<title>射线光学模拟 - 首页</title>
<meta property="og:title" content="射线光学模拟">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ricktu288.github.io/ray-optics/cn/">
<meta property="og:image" content="https://ricktu288.github.io/ray-optics/image.png">
<meta property="og:url" content="https://phydemo.app/ray-optics/cn/">
<meta property="og:image" content="https://phydemo.app/ray-optics/image.png">
<meta property="og:description" content="自由、开源的网页程序,用于建立及模拟二维几何光学场景。">
<meta property="og:locale" content="zh_CN">
<link rel="canonical" href="https://ricktu288.github.io/ray-optics/cn/">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/" hreflang="en">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/tw/" hreflang="zh-TW">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/cn/" hreflang="zh-CN">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/ru/" hreflang="ru">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/nl/" hreflang="nl">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/fr/" hreflang="fr">
<link rel="canonical" href="https://phydemo.app/ray-optics/cn/">
<link rel="alternate" href="https://phydemo.app/ray-optics/" hreflang="en">
<link rel="alternate" href="https://phydemo.app/ray-optics/tw/" hreflang="zh-TW">
<link rel="alternate" href="https://phydemo.app/ray-optics/cn/" hreflang="zh-CN">
<link rel="alternate" href="https://phydemo.app/ray-optics/ru/" hreflang="ru">
<link rel="alternate" href="https://phydemo.app/ray-optics/nl/" hreflang="nl">
<link rel="alternate" href="https://phydemo.app/ray-optics/fr/" hreflang="fr">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="icon" href="../icon128.png" type="image/png">
<style>
Expand Down Expand Up @@ -117,16 +117,16 @@

<div class="navbar navbar-fixed-top container" style="background-color:white">

<a href="https://ricktu288.github.io/ray-optics/" class="navbar-left brand">
<a href="https://phydemo.app/ray-optics/" 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://ricktu288.github.io/ray-optics/" class="active">首页</a>
<a href="https://ricktu288.github.io/ray-optics/gallery/">作品集</a>
<a href="https://ricktu288.github.io/ray-optics/about">关于</a>
<a href="https://phydemo.app/ray-optics/" class="active">首页</a>
<a href="https://phydemo.app/ray-optics/gallery/">作品集</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>
Expand All @@ -139,7 +139,7 @@
<h1><b><span id="title">射线光学模拟</span></b></h1>
<p id="description">建立二维几何光学场景,并实时模拟光线行为。<br>完全免费,免下载,源代码<a href="https://github.com/ricktu288/ray-optics">公开于 GitHub</a></p>
<p>
<a href="https://ricktu288.github.io/ray-optics/simulator/?zh-CN" target="_blank" class="btn btn-success btn-lg" id="start">启动程序</a>
<a href="https://phydemo.app/ray-optics/simulator/?zh-CN" target="_blank" class="btn btn-success btn-lg" id="start">启动程序</a>
</p>
</center>
<br>
Expand All @@ -156,19 +156,19 @@ <h1><b><span id="title">射线光学模拟</span></b></h1>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<a href="https://ricktu288.github.io/ray-optics/simulator/#compound-microscope" target="_blank"><img src="3.svg" alt="3.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#compound-microscope" target="_blank"><img src="3.svg" alt="3.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#spherical-lens-and-mirror" target="_blank"><img src="../img/1.svg" alt="1.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#spherical-lens-and-mirror" target="_blank"><img src="../img/1.svg" alt="1.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#apparent-depth" target="_blank"><img src="5.svg" alt="5.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#apparent-depth" target="_blank"><img src="5.svg" alt="5.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#chromatic-dispersion" target="_blank"><img src="6.png" alt="6.png"></a>
<a href="https://phydemo.app/ray-optics/simulator/#chromatic-dispersion" target="_blank"><img src="6.png" alt="6.png"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#images-formed-by-two-mirrors" target="_blank"><img src="../img/4.svg" alt="4.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#images-formed-by-two-mirrors" target="_blank"><img src="../img/4.svg" alt="4.svg"></a>
</div>
</div>
<!-- Left and right controls -->
Expand Down Expand Up @@ -358,12 +358,12 @@ <h2 id="views">视图</h2>
<span id="language">语言:简体中文</span>
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://ricktu288.github.io/ray-optics/">English</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/tw/">正體中文</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/cn/">简体中文</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/ru/">Русский</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/nl/">Nederlands</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/fr/">Français</a></li>
<li><a href="https://phydemo.app/ray-optics/">English</a></li>
<li><a href="https://phydemo.app/ray-optics/tw/">正體中文</a></li>
<li><a href="https://phydemo.app/ray-optics/cn/">简体中文</a></li>
<li><a href="https://phydemo.app/ray-optics/ru/">Русский</a></li>
<li><a href="https://phydemo.app/ray-optics/nl/">Nederlands</a></li>
<li><a href="https://phydemo.app/ray-optics/fr/">Français</a></li>
</ul>
</div>
</div>
Expand Down
52 changes: 26 additions & 26 deletions fr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
<title>Simulateur de rayon optique</title>
<meta property="og:title" content="Simulateur de rayon optique">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ricktu288.github.io/ray-optics/fr/">
<meta property="og:image" content="https://ricktu288.github.io/ray-optics/image.png">
<meta property="og:url" content="https://phydemo.app/ray-optics/fr/">
<meta property="og:image" content="https://phydemo.app/ray-optics/image.png">
<meta property="og:description" content="Une application web open-source pour simuler la reflexion et refraction de la lumière.">
<meta property="og:locale" content="fr">
<link rel="canonical" href="https://ricktu288.github.io/ray-optics/fr/">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/" hreflang="en">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/tw/" hreflang="zh-TW">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/cn/" hreflang="zh-CN">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/ru/" hreflang="ru">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/nl/" hreflang="nl">
<link rel="alternate" href="https://ricktu288.github.io/ray-optics/fr/" hreflang="fr">
<link rel="canonical" href="https://phydemo.app/ray-optics/fr/">
<link rel="alternate" href="https://phydemo.app/ray-optics/" hreflang="en">
<link rel="alternate" href="https://phydemo.app/ray-optics/tw/" hreflang="zh-TW">
<link rel="alternate" href="https://phydemo.app/ray-optics/cn/" hreflang="zh-CN">
<link rel="alternate" href="https://phydemo.app/ray-optics/ru/" hreflang="ru">
<link rel="alternate" href="https://phydemo.app/ray-optics/nl/" hreflang="nl">
<link rel="alternate" href="https://phydemo.app/ray-optics/fr/" hreflang="fr">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="icon" href="https://ricktu288.github.io/ray-optics/icon128.png" type="image/png">
<link rel="icon" href="https://phydemo.app/ray-optics/icon128.png" type="image/png">
<style>
.carousel-inner > .item > a > img {
width: 1920px;
Expand Down Expand Up @@ -117,16 +117,16 @@

<div class="navbar navbar-fixed-top container" style="background-color:white">

<a href="https://ricktu288.github.io/ray-optics/" class="navbar-left brand">
<a href="https://phydemo.app/ray-optics/" class="navbar-left brand">
<img src="../icon128.png" alt="" style="width:18pt; height:18pt">
Simulateur de rayon optique
</a>
<div class="navbar-right">

<span class="navul">
<a href="https://ricktu288.github.io/ray-optics/" class="active">Home</a>
<a href="https://ricktu288.github.io/ray-optics/gallery/">Gallery</a>
<a href="https://ricktu288.github.io/ray-optics/about">About</a>
<a href="https://phydemo.app/ray-optics/" class="active">Home</a>
<a href="https://phydemo.app/ray-optics/gallery/">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>
Expand All @@ -139,7 +139,7 @@
<h1><b><span id="title">Simulateur de rayon optique</span></b></h1>
<p id="description">Une application web open-source pour simuler la reflexion et refraction de la lumière.<br>Ecrit en HTML, CSS et JavaScript.</p>
<p>
<a href="https://ricktu288.github.io/ray-optics/simulator/?fr" target="_blank" class="btn btn-success btn-lg" id="start">Lancer l'application</a>
<a href="https://phydemo.app/ray-optics/simulator/?fr" target="_blank" class="btn btn-success btn-lg" id="start">Lancer l'application</a>
</p>
</center>
<br>
Expand All @@ -156,19 +156,19 @@ <h1><b><span id="title">Simulateur de rayon optique</span></b></h1>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<a href="https://ricktu288.github.io/ray-optics/simulator/#spherical-lens-and-mirror" target="_blank"><img src="../img/1.svg" alt="1.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#spherical-lens-and-mirror" target="_blank"><img src="../img/1.svg" alt="1.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#images-formed-by-two-mirrors" target="_blank"><img src="../img/4.svg" alt="4.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#images-formed-by-two-mirrors" target="_blank"><img src="../img/4.svg" alt="4.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#compound-microscope" target="_blank"><img src="../img/3.svg" alt="3.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#compound-microscope" target="_blank"><img src="../img/3.svg" alt="3.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#apparent-depth" target="_blank"><img src="../img/5.svg" alt="../img/5.svg"></a>
<a href="https://phydemo.app/ray-optics/simulator/#apparent-depth" target="_blank"><img src="../img/5.svg" alt="../img/5.svg"></a>
</div>
<div class="item">
<a href="https://ricktu288.github.io/ray-optics/simulator/#chromatic-dispersion" target="_blank"><img src="../img/6.png" alt="../img/6.png"></a>
<a href="https://phydemo.app/ray-optics/simulator/#chromatic-dispersion" target="_blank"><img src="../img/6.png" alt="../img/6.png"></a>
</div>
</div>

Expand Down Expand Up @@ -332,12 +332,12 @@ <h2 id="views">Vues</h2>
<span id="language">Langue: Français</span>
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="https://ricktu288.github.io/ray-optics/">English</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/tw/">正體中文</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/cn/">简体中文</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/ru/">Русский</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/nl/">Nederlands</a></li>
<li><a href="https://ricktu288.github.io/ray-optics/fr/">français</a></li>
<li><a href="https://phydemo.app/ray-optics/">English</a></li>
<li><a href="https://phydemo.app/ray-optics/tw/">正體中文</a></li>
<li><a href="https://phydemo.app/ray-optics/cn/">简体中文</a></li>
<li><a href="https://phydemo.app/ray-optics/ru/">Русский</a></li>
<li><a href="https://phydemo.app/ray-optics/nl/">Nederlands</a></li>
<li><a href="https://phydemo.app/ray-optics/fr/">français</a></li>
</ul>
</div>
</div>
Expand Down
Loading

0 comments on commit 630e630

Please sign in to comment.