Skip to content

How to show lens and absorber outlines? How to save a video? #3

@Andratos95

Description

@Andratos95

Hello! Thank you so much for this absolutely amazing code, it is so fun to play with!
I just have 4 questions for you, because I am a beginner at Python and I am not sure how to solve:

  1. I see in your example images in that you show the outline of the lenses overlapped on the simulation, but when I run the simulation all the lenses/absorber walls are not visible in the scene
  2. When I press play, the code starts and the simulation begins. I do not know how to save this simulation in a vide format (e.g. mp4 format). Any tips?
  3. How can I make mirrors?
  4. Is there a way to make pulsating extended sources? I saw example 2 where there is a point source with amplitude modulation, but is there a way to make this for an extended source?

Thank you so much and have a great day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions