diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 63dd821a..10d144f8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ Contributions are welcome. -To report bugs, request new features, or share your ideas, feel free to [open issues here](https://github.com/ricktu288/ray-optics/issues). You can also send an email to ray-optics@phydemo.app if you are not familiar with GitHub. +To report bugs, request new features, or share your ideas, feel free to open [issues](https://github.com/ricktu288/ray-optics/issues) or [discussion](https://github.com/ricktu288/ray-optics/discussions). You can also send an email to ray-optics@phydemo.app if you are not familiar with GitHub. For direct contributions, see the following guidelines. diff --git a/about.html b/about.html index 17c925a8..84b98db2 100644 --- a/about.html +++ b/about.html @@ -120,7 +120,7 @@

Icon

This project, including the gallery contents, is licensed under the Apache License 2.0, and is officially hosted on the PhyDemo (phydemo.app) website (formerly on ricktu288.github.io). The source code is available on GitHub, and you are welcome to contribute. -If you have questions or suggestions, you can either open issues on GitHub or email ray-optics@phydemo.app. +If you have questions or suggestions, you can open issues or discussions on GitHub, or email ray-optics@phydemo.app if you do not use GitHub.

diff --git a/simulator/css/style.css b/simulator/css/style.css index 358d25fe..7cb5fdd8 100644 --- a/simulator/css/style.css +++ b/simulator/css/style.css @@ -248,6 +248,10 @@ overflow-y: auto } +#help-dropdown a { + color: white; +} + .obj-bar { z-index: -1; background-color:rgba(23,162,184, 0.5); diff --git a/simulator/index.html b/simulator/index.html index 614b17f7..1b86ff24 100644 --- a/simulator/index.html +++ b/simulator/index.html @@ -1197,7 +1197,7 @@

- +
diff --git a/simulator/js/ui.js b/simulator/js/ui.js index 67cd9c43..beeec149 100644 --- a/simulator/js/ui.js +++ b/simulator/js/ui.js @@ -300,3 +300,6 @@ function hideAllPopovers() { }); } +document.getElementById('help-dropdown').addEventListener('click', function(e) { + e.stopPropagation(); +}); \ No newline at end of file diff --git a/simulator/locales/de.js b/simulator/locales/de.js index 7ab33436..b0cc2b69 100644 --- a/simulator/locales/de.js +++ b/simulator/locales/de.js @@ -792,7 +792,8 @@ locales["de"] = { "message": "Ansicht zoomen. (in Prozent)" }, "help_popover": { - "message": "Ziehen einschränken

Wenn Sie ein Objekt ziehen, halten Sie Shift gedrückt, um die Bewegung horizontal/vertikal einzuschränken; halten Sie Strg um zu duplizieren. Wenn Sie ein Linien-Objekt erzeugen oder seine Endpunkte ziehen, halten Sie Shift, um den Winkel zu fixieren oder auf 0°, 45°, 90° einzurasten; halten Sie Strg, um um das Zentrum zu rotieren/zu skalieren.

Objekte gruppieren, rotieren und skalieren

Halten Sie Strg, klicken mehrere Kontrollpunkte (z.B. Endpunkte); dann klicken Sie in den leeren Raum, um die gewählten Punkte zu gruppieren und einen 'Griff' zu erzeugen. Ziehen Sie den Griff (oder verwenden Sie die Pfeiltasten) um die Gruppe zu verschieben; Shift+Ziehen um die Bewegung horizontal/vertikal zu begrenzen; Strg+Ziehen Rotieren, Strg+Shift+Ziehen Skalieren. Ziehen Sie \"x\" um das Rotations/Skalierzentrum zu setzen. Klicken Sie den Griff und drücken Strg+D, um die Gruppe zu duplizieren; drücken Sie Delete, zum Auflösen der Gruppe.

Koordinaten direkt editieren

Doppel-Klick oder Rechts-Klick auf einen Kontrollpunkt (z.B. Endpunkt) eines Objekts, editieren Sie die (x,y)-Koordinaten in Pixeln, dann drücken Sie Enter.

Tastenkürzel

Wenn ein Objekt durck Klicken ausgewählt wurde, verwenden Sie die Pfeiltasten zum Verschieben; Strg+D zum Duplizieren; Löschen-Taste zum Löschen.

" + "incomplete": true, + "message": "Ziehen einschränken

Wenn Sie ein Objekt ziehen, halten Sie Shift gedrückt, um die Bewegung horizontal/vertikal einzuschränken; halten Sie Strg um zu duplizieren. Wenn Sie ein Linien-Objekt erzeugen oder seine Endpunkte ziehen, halten Sie Shift, um den Winkel zu fixieren oder auf 0°, 45°, 90° einzurasten; halten Sie Strg, um um das Zentrum zu rotieren/zu skalieren.

Objekte gruppieren, rotieren und skalieren

Halten Sie Strg, klicken mehrere Kontrollpunkte (z.B. Endpunkte); dann klicken Sie in den leeren Raum, um die gewählten Punkte zu gruppieren und einen 'Griff' zu erzeugen. Ziehen Sie den Griff (oder verwenden Sie die Pfeiltasten) um die Gruppe zu verschieben; Shift+Ziehen um die Bewegung horizontal/vertikal zu begrenzen; Strg+Ziehen Rotieren, Strg+Shift+Ziehen Skalieren. Ziehen Sie \"x\" um das Rotations/Skalierzentrum zu setzen. Klicken Sie den Griff und drücken Strg+D, um die Gruppe zu duplizieren; drücken Sie Delete, zum Auflösen der Gruppe.

Koordinaten direkt editieren

Doppel-Klick oder Rechts-Klick auf einen Kontrollpunkt (z.B. Endpunkt) eines Objekts, editieren Sie die (x,y)-Koordinaten in Pixeln, dann drücken Sie Enter.

Tastenkürzel

Wenn ein Objekt durck Klicken ausgewählt wurde, verwenden Sie die Pfeiltasten zum Verschieben; Strg+D zum Duplizieren; Löschen-Taste zum Löschen.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/en.js b/simulator/locales/en.js index b033c308..45888a37 100644 --- a/simulator/locales/en.js +++ b/simulator/locales/en.js @@ -712,7 +712,7 @@ locales["en"] = { "message": "Zoom the view with percentage." }, "help_popover": { - "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app.

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "message": "Show help popups" diff --git a/simulator/locales/es.js b/simulator/locales/es.js index f931df2a..4ea2b4b6 100644 --- a/simulator/locales/es.js +++ b/simulator/locales/es.js @@ -723,7 +723,8 @@ locales["es"] = { "message": "Zoom de la vista con porcentaje." }, "help_popover": { - "message": "Arrastre restringido

Cuando arrastre un objeto, presione Shift para limitar a horizontal/vertical; presione Ctrl para clonar. Cuando cree un objeto lineal o arrastre sus puntos extremales, presione Shift para bloquear el ángulo o fijarlo a 0°, 45°, 90°; presione Ctrl para rotar/escalar sobre su centro.

Agrupar, rotar y escalar objetos

Presione Ctrl, clique múltiples puntos de control (por ejemplo, puntos extremales), después clique en un espacio vacío para agrupar estos puntos y crear un punto de manejo. Arrastre el punto de manejo (o presione las flechas) para mover el grupo; Shift+arrastrar para limitar a horizontal/vertical; Ctrl+arrastrar para rotar, Ctrl+Shift+arrastrar para escalar. Arrastre el \"+\" para establecer un centro de rotación/ escala. Clique el punto de manejo y presione Ctrl+D para duplicar el grupo; Presione Supr para desagrupar.

Editar las coordenadas directamente

Doble-click o click derecho sobre un punto de control (por ejemplo, un punto extremal) del objeto, edite las coordenadas (x,y) en píxeles, después presione Enter.

Atajos de teclado

Cuando un objeto está seleccionado (al clicarlo), presione las flechas para moverlo; Ctrl+D para duplicarlo o Supr para suprimirlo.

" + "incomplete": true, + "message": "Arrastre restringido

Cuando arrastre un objeto, presione Shift para limitar a horizontal/vertical; presione Ctrl para clonar. Cuando cree un objeto lineal o arrastre sus puntos extremales, presione Shift para bloquear el ángulo o fijarlo a 0°, 45°, 90°; presione Ctrl para rotar/escalar sobre su centro.

Agrupar, rotar y escalar objetos

Presione Ctrl, clique múltiples puntos de control (por ejemplo, puntos extremales), después clique en un espacio vacío para agrupar estos puntos y crear un punto de manejo. Arrastre el punto de manejo (o presione las flechas) para mover el grupo; Shift+arrastrar para limitar a horizontal/vertical; Ctrl+arrastrar para rotar, Ctrl+Shift+arrastrar para escalar. Arrastre el \"+\" para establecer un centro de rotación/ escala. Clique el punto de manejo y presione Ctrl+D para duplicar el grupo; Presione Supr para desagrupar.

Editar las coordenadas directamente

Doble-click o click derecho sobre un punto de control (por ejemplo, un punto extremal) del objeto, edite las coordenadas (x,y) en píxeles, después presione Enter.

Atajos de teclado

Cuando un objeto está seleccionado (al clicarlo), presione las flechas para moverlo; Ctrl+D para duplicarlo o Supr para suprimirlo.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "message": "Mostrar ventanas de ayuda" diff --git a/simulator/locales/fr.js b/simulator/locales/fr.js index 184f78cf..98a9db9a 100644 --- a/simulator/locales/fr.js +++ b/simulator/locales/fr.js @@ -845,7 +845,7 @@ locales["fr"] = { }, "help_popover": { "incomplete": true, - "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/ja.js b/simulator/locales/ja.js index 9c55eb97..2559bdfd 100644 --- a/simulator/locales/ja.js +++ b/simulator/locales/ja.js @@ -948,8 +948,8 @@ locales["ja"] = { "message": "パーセンテージでビューをズームします。" }, "help_popover": { - "incomplete": false, - "message": "ドラッグの制限

オブジェクトをドラッグするとき、Shift キーを押したままにすると、水平/垂直に制限されます。 Ctrl キーを押したままクローンを作成します。 線状のオブジェクトを作成するか、その端点をドラッグする場合、Shift キーを押したまま角度をロックするか、0°、45°、90° にスナップします。 Ctrl キーを押したままにして、中心を中心に回転/スケールします。

オブジェクトをグループ化、回転、スケールする

Ctrl キーを押しながら、いくつかのコントロール ポイント (端点など) をクリックし、空のスペースをクリックしてグループ化します。 をポイントしてハンドルを作成します。 ハンドルをドラッグして (または矢印キーを押して)、グループを移動します。 Shift キーを押しながらドラッグすると、水平/垂直に制限されます。 Ctrl+ドラッグして回転させ、Ctrl+Shift+ドラッグして拡大縮小します。 「+」をドラッグして回転/スケーリングの中心を設定します。 ハンドルをクリックし、Ctrl+D を押してグループを複製します。 グループを解除するには、[削除]を押します。

座標を直接編集する

オブジェクトの制御点 (エンドポイントなど) をダブルクリックまたは右クリックし、(x,y) 座標をピクセル単位で編集し、Enter キーを押します。

キーボード ショートカット

オブジェクトをクリックして選択したら、矢印キーを押して移動します。 Ctrl+D を押して複製します。 Deleteキーで削除できます。

" + "incomplete": true, + "message": "ドラッグの制限

オブジェクトをドラッグするとき、Shift キーを押したままにすると、水平/垂直に制限されます。 Ctrl キーを押したままクローンを作成します。 線状のオブジェクトを作成するか、その端点をドラッグする場合、Shift キーを押したまま角度をロックするか、0°、45°、90° にスナップします。 Ctrl キーを押したままにして、中心を中心に回転/スケールします。

オブジェクトをグループ化、回転、スケールする

Ctrl キーを押しながら、いくつかのコントロール ポイント (端点など) をクリックし、空のスペースをクリックしてグループ化します。 をポイントしてハンドルを作成します。 ハンドルをドラッグして (または矢印キーを押して)、グループを移動します。 Shift キーを押しながらドラッグすると、水平/垂直に制限されます。 Ctrl+ドラッグして回転させ、Ctrl+Shift+ドラッグして拡大縮小します。 「+」をドラッグして回転/スケーリングの中心を設定します。 ハンドルをクリックし、Ctrl+D を押してグループを複製します。 グループを解除するには、[削除]を押します。

座標を直接編集する

オブジェクトの制御点 (エンドポイントなど) をダブルクリックまたは右クリックし、(x,y) 座標をピクセル単位で編集し、Enter キーを押します。

キーボード ショートカット

オブジェクトをクリックして選択したら、矢印キーを押して移動します。 Ctrl+D を押して複製します。 Deleteキーで削除できます。

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/ko.js b/simulator/locales/ko.js index 76ddb7b4..5051909c 100644 --- a/simulator/locales/ko.js +++ b/simulator/locales/ko.js @@ -948,8 +948,8 @@ locales["ko"] = { "message": "화면 확대 비율을 퍼센트로 결정합니다." }, "help_popover": { - "incomplete": false, - "message": "제한된 드래그

객체를 드래그할 때 수평/수직으로 제한하려면 Shift 키를 누르십시오. 복제하려면 Ctrl을 누르십시오. 선 모양의 객체를 만들거나 끝점을 드래그할 때 Shift 키를 누르면 각도가 고정되거나 0°, 45°, 90° 로 고정됩니다. 중앙을 기준으로 회전/크기 조정 시 Ctrl 키를 누르십시오.

객체 그룹화, 회전, 크기 조절

여러 제어점을 그룹화하고 핸들을 만들려면, Ctrl 키를 누른 채 여러 제어점 (e.g. 끝점)을 클릭한 뒤 빈 공간을 클릭하십시오. 그룹을 이동하려면 핸들을 드래그하거나 방향키를 누르십시오. 수평/수직 방향으로 제한하려면 Shift 키를 누른 채 드래그하십시오. 회전하려면 Ctrl+드래그를, 크기를 조정하려면 Ctrl+Shift+드래그 하십시오. 회전/크기 조절의 중심을 설정하려면 \"+\" 표시를 드래그하십시오. 핸들을 클릭하고 Ctrl+D를 눌러 그룹을 복제할 수 있습니다. 그룹을 해제하려면 Delete 키를 누르십시오.

직접 좌표 수정

객체의 제어점 (e.g. 끝점)을 더블 클릭하거나 마우스 오른쪽 버튼을 클릭하여 (x, y) 좌표를 픽셀 단위로 편집한 후 Enter 키를 누르십시오.

단축키

객체가 클릭되어 선택되었을 때, 방향키를 눌러 이동, Ctrl+D를 눌러 복제, Delete키를 눌러 삭제할 수 있습니다.

" + "incomplete": true, + "message": "제한된 드래그

객체를 드래그할 때 수평/수직으로 제한하려면 Shift 키를 누르십시오. 복제하려면 Ctrl을 누르십시오. 선 모양의 객체를 만들거나 끝점을 드래그할 때 Shift 키를 누르면 각도가 고정되거나 0°, 45°, 90° 로 고정됩니다. 중앙을 기준으로 회전/크기 조정 시 Ctrl 키를 누르십시오.

객체 그룹화, 회전, 크기 조절

여러 제어점을 그룹화하고 핸들을 만들려면, Ctrl 키를 누른 채 여러 제어점 (e.g. 끝점)을 클릭한 뒤 빈 공간을 클릭하십시오. 그룹을 이동하려면 핸들을 드래그하거나 방향키를 누르십시오. 수평/수직 방향으로 제한하려면 Shift 키를 누른 채 드래그하십시오. 회전하려면 Ctrl+드래그를, 크기를 조정하려면 Ctrl+Shift+드래그 하십시오. 회전/크기 조절의 중심을 설정하려면 \"+\" 표시를 드래그하십시오. 핸들을 클릭하고 Ctrl+D를 눌러 그룹을 복제할 수 있습니다. 그룹을 해제하려면 Delete 키를 누르십시오.

직접 좌표 수정

객체의 제어점 (e.g. 끝점)을 더블 클릭하거나 마우스 오른쪽 버튼을 클릭하여 (x, y) 좌표를 픽셀 단위로 편집한 후 Enter 키를 누르십시오.

단축키

객체가 클릭되어 선택되었을 때, 방향키를 눌러 이동, Ctrl+D를 눌러 복제, Delete키를 눌러 삭제할 수 있습니다.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": false, diff --git a/simulator/locales/nl.js b/simulator/locales/nl.js index 1c1b4cdb..a03b5b79 100644 --- a/simulator/locales/nl.js +++ b/simulator/locales/nl.js @@ -861,7 +861,7 @@ locales["nl"] = { }, "help_popover": { "incomplete": true, - "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/pl.js b/simulator/locales/pl.js index fa1cad9f..60d9d03f 100644 --- a/simulator/locales/pl.js +++ b/simulator/locales/pl.js @@ -741,7 +741,8 @@ locales["pl"] = { "message": "Wielkość widoku w procentach." }, "help_popover": { - "message": "Ograniczone przeciąganie

Podczas przeciągania obiektu przytrzymaj klawisz Shift, aby ograniczyć do poziomego/pionowego; przytrzymaj Ctrl, aby powielić obiekt. Podczas tworzenia obiektu w kształcie linii lub przeciągania jego punktów końcowych przytrzymaj klawisz Shift, aby zablokować kąt lub przeskakiwać między 0°, 45°, 90°; przytrzymaj klawisz Ctrl, aby obrócić/skalować wokół jego środka.

Grupuj, obracaj i skaluj obiekty

Przytrzymaj klawisz Ctrl, kliknij kilka punktów kontrolnych (np. punkty końcowe), a następnie kliknij puste miejsce, aby zgrupować te punkty i utworzyć uchwyt. Przeciągnij uchwyt (lub naciśnij klawisze strzałek), aby przesunąć grupę; Shift+przeciągnij, aby ograniczyć do poziomego/pionowego ruchu; Ctrl+przeciągnij, aby obrócić, Ctrl+Shift+przeciągnij, aby skalować. Przeciągnij \"+\", aby ustawić środek obrotu/skalowania. Kliknij uchwyt i naciśnij klawisze Ctrl+D, aby powielić grupę; naciśnij Usuń, aby rozgrupować.

Bezpośrednia edycja współrzędnych

Kliknij dwukrotnie lub kliknij prawym przyciskiem myszy punkt kontrolny (np. punkt końcowy) obiektu, edytuj współrzędne (x,y) w pikselach, a następnie naciśnij klawisz Enter.

Skróty klawiaturowe

Gdy obiekt jest zaznaczony (przez kliknięcie go), naciskaj klawisze strzałek, aby się poruszać; Ctrl+D, aby powielić; Klawisz Delete, aby usunąć.

" + "incomplete": true, + "message": "Ograniczone przeciąganie

Podczas przeciągania obiektu przytrzymaj klawisz Shift, aby ograniczyć do poziomego/pionowego; przytrzymaj Ctrl, aby powielić obiekt. Podczas tworzenia obiektu w kształcie linii lub przeciągania jego punktów końcowych przytrzymaj klawisz Shift, aby zablokować kąt lub przeskakiwać między 0°, 45°, 90°; przytrzymaj klawisz Ctrl, aby obrócić/skalować wokół jego środka.

Grupuj, obracaj i skaluj obiekty

Przytrzymaj klawisz Ctrl, kliknij kilka punktów kontrolnych (np. punkty końcowe), a następnie kliknij puste miejsce, aby zgrupować te punkty i utworzyć uchwyt. Przeciągnij uchwyt (lub naciśnij klawisze strzałek), aby przesunąć grupę; Shift+przeciągnij, aby ograniczyć do poziomego/pionowego ruchu; Ctrl+przeciągnij, aby obrócić, Ctrl+Shift+przeciągnij, aby skalować. Przeciągnij \"+\", aby ustawić środek obrotu/skalowania. Kliknij uchwyt i naciśnij klawisze Ctrl+D, aby powielić grupę; naciśnij Usuń, aby rozgrupować.

Bezpośrednia edycja współrzędnych

Kliknij dwukrotnie lub kliknij prawym przyciskiem myszy punkt kontrolny (np. punkt końcowy) obiektu, edytuj współrzędne (x,y) w pikselach, a następnie naciśnij klawisz Enter.

Skróty klawiaturowe

Gdy obiekt jest zaznaczony (przez kliknięcie go), naciskaj klawisze strzałek, aby się poruszać; Ctrl+D, aby powielić; Klawisz Delete, aby usunąć.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "message": "Pokaż okienka pomocy" diff --git a/simulator/locales/ru.js b/simulator/locales/ru.js index f6046a46..ddb32eb8 100644 --- a/simulator/locales/ru.js +++ b/simulator/locales/ru.js @@ -849,7 +849,7 @@ locales["ru"] = { }, "help_popover": { "incomplete": true, - "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/si.js b/simulator/locales/si.js index 0b3961b3..54d0c638 100644 --- a/simulator/locales/si.js +++ b/simulator/locales/si.js @@ -858,7 +858,7 @@ locales["si"] = { }, "help_popover": { "incomplete": true, - "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/template.js b/simulator/locales/template.js index 057116f8..3e8add84 100644 --- a/simulator/locales/template.js +++ b/simulator/locales/template.js @@ -949,7 +949,7 @@ locales["LOCALE_ID"] = { }, "help_popover": { "incomplete": true, - "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + "message": "Constrained dragging

When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.

Group, rotate, and scale objects

Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

Contact Us

The suggested way is to go to Discussions or Issues on GitHub. If you do not use GitHub, you can also email us at ray-optics@phydemo.app (please use English).

Direct contributions are also welcome (see the contribution guide).

" }, "show_help_popups": { "incomplete": true, diff --git a/simulator/locales/zh_CN.js b/simulator/locales/zh_CN.js index 58e41157..d578e46f 100644 --- a/simulator/locales/zh_CN.js +++ b/simulator/locales/zh_CN.js @@ -712,7 +712,7 @@ locales["zh-CN"] = { "message": "通过百分比缩放视图。" }, "help_popover": { - "message": "限制拖曳行为

拖曳物件时,按住 Shift 以限制于水平或垂直移动;按住 Ctrl 以复制物件。建立线型物件或拖曳其端点时,按住 Shift 以锁定角度或吸附至 0°、45°、90°;按住 Ctrl 以对于中心点旋转或缩放。

群组、旋转及缩放物件

按住 Ctrl,点击多个控制点(如端点),并点击空白处以将这些点群组并建立控制杆。拖曳控制杆(或按方向键)以平移群组;Shift+拖曳以限制于水平或垂直移动;Ctrl+拖曳以旋转;Ctrl+Shift+拖曳以缩放。移动「+」以设定旋转或缩放中心。点击控制杆并按 Ctrl+D 以复制群组;按 Delete 以解散群组。

直接编辑座标

对控制点(如端点)点两下或按右键,输入 (x,y) 座标(单位为像素),然后按 Enter。

键盘快速键

当一物件在被选取的状态(被点击)时,按方向键以移动;Ctrl+D 以复制;Delete 以删除。" + "message": "限制拖曳行为

拖曳物件时,按住 Shift 以限制于水平或垂直移动;按住 Ctrl 以复制物件。建立线型物件或拖曳其端点时,按住 Shift 以锁定角度或吸附至 0°、45°、90°;按住 Ctrl 以对于中心点旋转或缩放。

群组、旋转及缩放物件

按住 Ctrl,点击多个控制点(如端点),并点击空白处以将这些点群组并建立控制杆。拖曳控制杆(或按方向键)以平移群组;Shift+拖曳以限制于水平或垂直移动;Ctrl+拖曳以旋转;Ctrl+Shift+拖曳以缩放。移动「+」以设定旋转或缩放中心。点击控制杆并按 Ctrl+D 以复制群组;按 Delete 以解散群组。

直接编辑座标

对控制点(如端点)点两下或按右键,输入 (x,y) 座标(单位为像素),然后按 Enter。

键盘快速键

当一物件在被选取的状态(被点击)时,按方向键以移动;Ctrl+D 以复制;Delete 以删除。

联络我们

建议使用 GitHub 上的 DiscussionsIssues 功能(请使用英文)。若您对 GitHub 不熟,也可发送电子邮件至 ray-optics@phydemo.app(可使用中文)。

也欢迎直接进行贡献(见贡献指南)。

" }, "show_help_popups": { "message": "显示提示泡泡" diff --git a/simulator/locales/zh_TW.js b/simulator/locales/zh_TW.js index 9005d664..ca643d50 100644 --- a/simulator/locales/zh_TW.js +++ b/simulator/locales/zh_TW.js @@ -712,7 +712,7 @@ locales["zh-TW"] = { "message": "透過百分比縮放視窗。" }, "help_popover": { - "message": "限制拖曳行為

拖曳物件時,按住 Shift 以限制於水平或垂直移動;按住 Ctrl 以複製物件。建立線型物件或拖曳其端點時,按住 Shift 以鎖定角度或吸附至 0°、45°、90°;按住 Ctrl 以對於中心點旋轉或縮放。

群組、旋轉及縮放物件

按住 Ctrl,點擊多個控制點(如端點),並點擊空白處以將這些點群組並建立控制桿。拖曳控制桿(或按方向鍵)以平移群組;Shift+拖曳以限制於水平或垂直移動;Ctrl+拖曳以旋轉;Ctrl+Shift+拖曳以縮放。移動「+」以設定旋轉或縮放中心。點擊控制桿並按 Ctrl+D 以複製群組;按 Delete 以解散群組。

直接編輯座標

對控制點(如端點)點兩下或按右鍵,輸入 (x,y) 座標(單位為像素),然後按 Enter。

鍵盤快速鍵

當一物件在被選取的狀態(被點擊)時,按方向鍵以移動;Ctrl+D 以複製;Delete 以刪除。" + "message": "限制拖曳行為

拖曳物件時,按住 Shift 以限制於水平或垂直移動;按住 Ctrl 以複製物件。建立線型物件或拖曳其端點時,按住 Shift 以鎖定角度或吸附至 0°、45°、90°;按住 Ctrl 以對於中心點旋轉或縮放。

群組、旋轉及縮放物件

按住 Ctrl,點擊多個控制點(如端點),並點擊空白處以將這些點群組並建立控制桿。拖曳控制桿(或按方向鍵)以平移群組;Shift+拖曳以限制於水平或垂直移動;Ctrl+拖曳以旋轉;Ctrl+Shift+拖曳以縮放。移動「+」以設定旋轉或縮放中心。點擊控制桿並按 Ctrl+D 以複製群組;按 Delete 以解散群組。

直接編輯座標

對控制點(如端點)點兩下或按右鍵,輸入 (x,y) 座標(單位為像素),然後按 Enter。

鍵盤快速鍵

當一物件在被選取的狀態(被點擊)時,按方向鍵以移動;Ctrl+D 以複製;Delete 以刪除。

聯絡我們

建議使用 GitHub 上的 DiscussionsIssues 功能(請使用英文)。若您對 GitHub 不熟,也可發送電子郵件至 ray-optics@phydemo.app(可使用中文)。

也歡迎直接進行貢獻(見貢獻指南)。

" }, "show_help_popups": { "message": "顯示提示泡泡"