Skip to content

Commit f21731c

Browse files
committed
PointsPerLoop decreased to 28. phetsims/masses-and-springs-basics#40
1 parent bc75c24 commit f21731c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/common/model/MassesAndSpringsModel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ define( function( require ) {
323323
// set mass position to maximum y position based on spring coils
324324
mass.positionProperty.set( mass.positionProperty.get().copy().setY( modelMaxY ) );
325325

326-
// Limit the length of the spring to based on the spring coils.
326+
// Limit the length of the spring based on the spring coils.
327327
mass.springProperty.value.updateDisplacement( modelMaxY, false );
328328
}
329329
}

js/common/view/OscillatingSpringNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ define( function( require ) {
3636
options = _.extend( {
3737
deltaPhase: 3 * Math.PI / 2,
3838
loops: MAP_NUMBER_OF_LOOPS( spring.lengthProperty.get() ), // {number} number of loops in the coil
39-
pointsPerLoop: 40, // {number} number of points per loop
39+
pointsPerLoop: 28, // {number} number of points per loop
4040
radius: 6.5, // {number} radius of a loop with aspect ratio of 1:1
4141
aspectRatio: 4, // {number} y:x aspect ratio of the loop radius
4242
unitDisplacementLength: modelViewTransform2.viewToModelDeltaY( 1 ), // {number} view length of 1 meter of displacement

0 commit comments

Comments
 (0)