ricktu288 / ray-optics

A web app for creating and simulating 2D geometric optical scenes, with a gallery of (interactive) demos.
https://phydemo.app/ray-optics/
Apache License 2.0
1.26k stars 214 forks source link

Ability for the mirrors or lenses to move with some velocity #158

Open NotCarlFriedrichGauss opened 2 weeks ago

ricktu288 commented 2 weeks ago

To move one object, simply select it and hold an arrow key. To move several objects together, bind them to a handle (see the "Group, rotate, and scale objects" section in the Help button at the lower right corner of the app), click the handle and hold an arrow key.

In the future, custom animation may be added to the "module" feature of the app (see Tools -> Other -> Import Modules).