Repository navigation
Feature: colors per ray, ray length changed in place - #17
Merged
Merged
Conversation
…endering the beam again `_render_settings!` changes the settings of the render handles of a beam via `BeamletOptics.render_settings!`: the handles, their plots and the overlays stay, hidden, dimmed and clipped as they are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… by its wavelength A source starts with `color = :wavelength` of BeamletOptics instead of one color taken from its first ray, such that the beams of a group with several wavelengths and the beams behind a prism get their own colors. The page "Color" sets the color via `BeamletOptics.render_settings!`: the handles and their plots stay, and the mode "wavelength" is read from the handle. `_wavelength_color` is replaced by `BeamletOptics.wavelength_color`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
render_settings! with the setting color and the per-vertex colors of live beam handles come with BeamletOptics 0.14. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BeamletOptics 0.14 removed retracing: solve_system! has no keyword retrace and resets every beam before it traces it. _solve_from_start!, which did both for the live view, is replaced by solve_system!. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wavelengths Like every other source, and like an astigmatic beam group that is added with add_component!; so far they kept the default color of BeamletOptics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ttings # Conflicts: # docs/src/components.md # src/LiveSources.jl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
color = :wavelength: each ray in the color of its own wavelengthbeam_kwargs: acceptscolor = :wavelengthand(:wavelength, alpha)length: changes the drawn length in place, beam and overlays are not rendered againDoc changes
live_view.md,components.md: colors per ray, length changed in placeAPI.md,VISUALIZATION.mdupdatedInternal changes
_wavelength_colorreplaced bywavelength_colorof BeamletOpticsBugfixes
add_component!.Internal changes
BeamletOptics = "0.14", version 0.3.0.solve_system!directly,_solve_from_start!is gone.