Skip to content

Commit

Permalink
Making Bloch Sphere lines thicker, see #53
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Oct 30, 2024
1 parent 4b8832a commit be5be27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/common/view/BlochSphereNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const AXES_STROKE = 'gray';
const AXES_LINE_WIDTH = 0.1;
const AXES_LINE_DASH = [ 1, 1 ];
const LABELS_OFFSET = 5;
const LABELS_FONT = new PhetFont( { size: 5, weight: 'bold' } );
const LABELS_FONT = new PhetFont( { size: 10, weight: 'bold' } );

const AXES_OPTIONS = {
stroke: AXES_STROKE,
Expand Down Expand Up @@ -160,9 +160,9 @@ export default class BlochSphereNode extends Node {
const stateVectorVisibleProperty = new BooleanProperty( true );
const stateVector = new ArrowNode( 0, 0, 0, -sphereRadius, {
tandem: providedOptions.tandem.createTandem( 'stateVector' ),
headWidth: 3,
headHeight: 3,
tailWidth: 0.1,
headWidth: 6,
headHeight: 6,
tailWidth: 1,
fill: 'black',
visibleProperty: stateVectorVisibleProperty
} );
Expand Down

0 comments on commit be5be27

Please sign in to comment.