Skip to content

Commit

Permalink
make beam splitter and mirror a bit smaller, see #52
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Nov 12, 2024
1 parent ab77dd2 commit 2848f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/photons/model/Mirror.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type SelfOptions = EmptySelfOptions;
type MirrorOptions = SelfOptions & PickRequired<PhetioObjectOptions, 'tandem'>;

// constants
const MIRROR_LENGTH = 0.125; // meters
const MIRROR_LENGTH = 0.095; // meters

export default class Mirror implements TPhotonInteraction {

Expand Down
4 changes: 2 additions & 2 deletions js/photons/model/PolarizingBeamSplitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default class PolarizingBeamSplitter implements TPhotonInteraction {
// The position of the center of the beam splitter in two-dimensional space. Units are in meters.
public readonly centerPosition: Vector2;

// the size of the beam splitter, in meters
public readonly size = new Dimension2( 0.10, 0.10 );
// The size of the beam splitter, in meters. This is empirically determined to match the design doc.
public readonly size = new Dimension2( 0.07, 0.07 );

// A line in model space that represents the position of the polarizing beam splitter.
public readonly polarizingSurfaceLine: Line;
Expand Down

0 comments on commit 2848f7f

Please sign in to comment.