diff --git a/images/greenPhoton.png b/images/greenPhoton.png index a8f6eaf..08b6310 100644 Binary files a/images/greenPhoton.png and b/images/greenPhoton.png differ diff --git a/images/greenPhoton_png.ts b/images/greenPhoton_png.ts index 6b87fa5..8064bac 100644 --- a/images/greenPhoton_png.ts +++ b/images/greenPhoton_png.ts @@ -6,5 +6,5 @@ import asyncLoader from '../../phet-core/js/asyncLoader.js'; const image = new Image(); const unlock = asyncLoader.createLock( image ); image.onload = unlock; -image.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA3+SURBVGhD3Vp5bFzFGf/2Xh+763V8rG/HOZyDkAQSSICWO9A/ooIE5S5taaSKIqAEFARqRQtSS0pJJVoSVaitUCVOtSqI0ITUBBUi2pJCIOSAJHYcH2s7tne9u957t98x897bdU6av/p9mZ1v5s375vebb968eePYisUi/D/IOSWSL+ad/en+7oHMwLyB9MC8dDFVWSgW7HabvUDXg47gaIun9csub9feWmdtmG86R/I/ExnLjrX0RP5+y0eJ3dfui392WaqYrrbZbEBKonOSolbsMuRu7FtSdf57l/gveWO175K3XDZXWjX7SvKVifwz9uH1r4y9+tAn8U+uttuB/rEKBVQLGasIkSIU2Cqweu0V0TU11754c90tz4bcoT7V9KzkrIl8kvj48ueGn9vUl+xdjlMGHKhMAW2hoX6xTGKlQj2ZRCxUikIIG+euDlzz4rrQuseCztoRuevM5IyJxPKx4KahTb/ZGem53WEj+KicEwH8tRBhCxmcLCIF7NPldFMYIZ5JGERyxRznbrsnek/jPY/dMOvG59Vtp5UzIvJZ4tNLf9b/xEsTuUibU5GgnAjo3I7IhYoiZEyt0pjoiCxoWwy9o4chloox+DxpMc82EaLySt/Fb2xo3fBdv8M/oRycVE5LZHtk2x0bB57+A5ouJ7gYuCaCvxgVAo62yiUqemqVR0RI1Nc0QFdoLuw+8m9IpOMIWVH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igq5T1CUs9JXEFQ3xqEREQiy2HUEYCC2aUrVYXn41J23zL/lpycET5jzj5+tckwgJIV6If7sxLN3vTL18s0lq5SgyDggguGAzBUR6pPcxzWCEdAgC4P9n1zdefV957eveV6uOHo5ZhAtRQTaOrX1x9sz26/bZ+47g+OgQLBZR10fGagvt1JEjIZhro6vfnVd8tt/PCt29svq1GOWrwziliFzaNmu/LvrPix8uPbL4hdfH69N9GucVsFbeLk31Ldnedvyd/ButHNVdNW2mDd2xP/ZcCQ5LiCtgluScKaW6R6rji5SVfzJJulLjnX6u/arquMoAP8FXv95EetW9CUAAAAASUVORK5CYII='; export default image; \ No newline at end of file diff --git a/js/photons/view/PhotonSprites.ts b/js/photons/view/PhotonSprites.ts index 4b2bdbd..1b2bb00 100644 --- a/js/photons/view/PhotonSprites.ts +++ b/js/photons/view/PhotonSprites.ts @@ -28,7 +28,7 @@ import Photon from '../model/Photon.js'; // constants const TARGET_PHOTON_VIEW_WIDTH = 10; // in screen coords, empirically determined to match the design -export default class PhotonSprites extends Sprites { +class PhotonSprites extends Sprites { private readonly spriteInstances: SpriteInstance[]; private readonly photons: Photon[]; @@ -74,7 +74,7 @@ export default class PhotonSprites extends Sprites { // canvas. That is an asynchronous process, so we need to wait for it to complete before adding the sprites. const outlineCircle = new Circle( TARGET_PHOTON_VIEW_WIDTH / 2, { stroke: QuantumMeasurementColors.photonBaseColorProperty.value, - lineWidth: 0.5 + lineWidth: 1 } ); outlineCircle.toCanvas( canvas => { this.photonOutlineSprite = new Sprite( new SpriteImage( @@ -138,10 +138,11 @@ export default class PhotonSprites extends Sprites { interiorSpriteInstance.matrix.setToAffine( scale, 0, xPos, 0, scale, yPos ); interiorSpriteInstance.alpha = photonMotionState.probability; // Probability based opacity - // Update the matrix for the photon outline. The outline is always fully opaque. + // Update the matrix for the photon outline. const outlineSpriteInstance = this.spriteInstances[ ( numberOfPhotonsDisplayed - 1 ) * 2 + 1 ]; outlineSpriteInstance.sprite = this.photonOutlineSprite; outlineSpriteInstance.matrix.setToAffine( 1, 0, xPos, 0, 1, yPos ); + outlineSpriteInstance.alpha = 1; // Always fully opaque } } } @@ -157,4 +158,6 @@ export default class PhotonSprites extends Sprites { } } -quantumMeasurement.register( 'PhotonSprites', PhotonSprites ); \ No newline at end of file +quantumMeasurement.register( 'PhotonSprites', PhotonSprites ); + +export default PhotonSprites; \ No newline at end of file