Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counting number of reflections [Feature Request] #46

Closed
lorepieri8 opened this issue Jun 2, 2022 · 2 comments
Closed

Counting number of reflections [Feature Request] #46

lorepieri8 opened this issue Jun 2, 2022 · 2 comments

Comments

@lorepieri8
Copy link

It would be nice to have stats on the number of reflections the rays do on any surface, e.g. on a spherical mirror.

@ricktu288
Copy link
Owner

Actually, there is a <span id="status"> that shows the total numbers of rays. It is hidden and is only for debugging purpose (it can be viewed with the web developer tool.)

However, if refractors are present, the number is meaningless since the true number of internal reflections is always infinite.

@ricktu288
Copy link
Owner

Now you can turn on "Show status box" in Settings to show the total number of ray segments, from which certain kinds of "number of reflections" can be inferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants