Skip to content

Commit

Permalink
Featuring projections of the bloch sphere, see #63
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Nov 29, 2024
1 parent 6e297ba commit 7291d9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/spin/model/SimpleBlochSphere.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ export default class SimpleBlochSphere extends AbstractBlochSphere {
super( options );

this.showZProjectionProperty = new BooleanProperty( false, {
tandem: options.tandem.createTandem( 'showZProjectionProperty' )
tandem: options.tandem.createTandem( 'showZProjectionProperty' ),
phetioFeatured: true
} );

this.showXProjectionProperty = new BooleanProperty( false, {
tandem: options.tandem.createTandem( 'showXProjectionProperty' )
tandem: options.tandem.createTandem( 'showXProjectionProperty' ),
phetioFeatured: true
} );

spinStateProperty.link( spinState => {
Expand Down

0 comments on commit 7291d9c

Please sign in to comment.