Expression 26: "r" Subscript, "e" "f" "l" "e" "c" "t" , Baseline left parenthesis, "d" , "n" Subscript, "i" , Baseline , right parenthesis equals "d" minus left parenthesis, 2 minus "d" Subscript, "a" "m" "p" , Baseline , right parenthesis "d" Subscript, "o" "t" , Baseline left parenthesis, "d" , "n" Subscript, "o" "r" , Baseline , right parenthesis times left parenthesis, "n" Subscript, "o" "r" , Baseline , right parenthesis with "n" Subscript, "o" "r" , Baseline equals StartFraction, "n" Subscript, "i" , Baseline Over StartAbsoluteValue, "n" Subscript, "i" , Baseline , EndAbsoluteValue , EndFractionreflectd,ni=d−2−dampdotd,nor·norwithnor=nini
26
Expression 27: "r" Subscript, "e" "f" "l" "e" "c" "t" "g" "r" "o" "u" "n" "d" , Baseline left parenthesis, "d" , right parenthesis equals left brace, "d" . "y" less than 0 : "d" minus left parenthesis, 2 minus "d" Subscript, "a" "m" "p" "g" , Baseline , right parenthesis "d" Subscript, "o" "t" , Baseline left parenthesis, "d" , left parenthesis, 0 , 1 , right parenthesis , right parenthesis times left parenthesis, left parenthesis, 0 , 1 , right parenthesis , right parenthesis , "d" , right bracereflectgroundd=d.y<0:d−2−dampgdotd,0,1·0,1,d
Hidden Label: "s" Subscript, "p" "r" "i" "n" "g" , Baseline equals left bracket, left parenthesis, 1 , 2 , right parenthesis , left parenthesis, 1 , 3 , right parenthesis , left parenthesis, 1 , 4 , right parenthesis , left parenthesis, 2 , 3 , right parenthesis , left parenthesis, 1 , 6 , right parenthesis , left parenthesis, 2 , 4 , right parenthesis , left parenthesis, 2 , 5 , right parenthesis , left parenthesis, 3 , 4 , right parenthesis , left parenthesis, 3 , 5 , right parenthesis , left parenthesis, 3 , 6 , right parenthesis , left parenthesis, 3 , 7 , right parenthesis , left parenthesis, 4 , 5 , right parenthesis , left parenthesis, 4 , 6 , right parenthesis , left parenthesis, 3 , 9 , right parenthesis , left parenthesis, 4 , 8 , right parenthesis , left parenthesis, 5 , 6 , right parenthesis , left parenthesis, 3 , 10 , right parenthesis , left parenthesis, 5 , 7 , right parenthesis , left parenthesis, 5 , 8 , right parenthesis , left parenthesis, 3 , 12 , right parenthesis , left parenthesis, 6 , 7 , right parenthesis , left parenthesis, 6 , 8 , right parenthesis , left parenthesis, 6 , 9 , right parenthesis , left parenthesis, 7 , 8 , right parenthesis , left parenthesis, 6 , 10 , right parenthesis , left parenthesis, 6 , 11 , right parenthesis , left parenthesis, 9 , 10 , right parenthesis , left parenthesis, 9 , 11 , right parenthesis , left parenthesis, 9 , 12 , right parenthesis , left parenthesis, 10 , 11 , right parenthesis , left parenthesis, 10 , 12 , right parenthesis , left parenthesis, 9 , 14 , right parenthesis , left parenthesis, 10 , 13 , right parenthesis , left parenthesis, 11 , 12 , right parenthesis , left parenthesis, 11 , 13 , right parenthesis , left parenthesis, 11 , 14 , right parenthesis , left parenthesis, 12 , 13 , right parenthesis , left parenthesis, 12 , 14 , right parenthesis , left parenthesis, 13 , 14 , right parenthesis , left parenthesis, 15 , 16 , right parenthesis , left parenthesis, 15 , 17 , right parenthesis , left parenthesis, 15 , 18 , right parenthesis , left parenthesis, 16 , 17 , right parenthesis , left parenthesis, 15 , 19 , right parenthesis , left parenthesis, 15 , 20 , right parenthesis , left parenthesis, 15 , 21 , right parenthesis , left parenthesis, 15 , 22 , right parenthesis , left parenthesis, 15 , 23 , right parenthesis , left parenthesis, 18 , 19 , right parenthesis , left parenthesis, 20 , 21 , right parenthesis , left parenthesis, 22 , 23 , right parenthesis , right bracketspring=1,2,1,3,1,4,2,3,1,6,2,4,2,5,3,4,3,5,3,6,3,7,4,5,4,6,3,9,4,8,5,6,3,10,5,7,5,8,3,12,6,7,6,8,6,9,7,8,6,10,6,11,9,10,9,11,9,12,10,11,10,12,9,14,10,13,11,12,11,13,11,14,12,13,12,14,13,14,15,16,15,17,15,18,16,17,15,19,15,20,15,21,15,22,15,23,18,19,20,21,22,23
Label
29
Hidden Label: "F" Subscript, "s" , Baseline equals "s" Subscript, "p" "r" "i" "n" "g" "f" "o" "r" "c" "e" , Baseline left parenthesis, "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "x" , right bracket , "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "y" , right bracket , "r" Subscript, "e" "s" "t" "l" "e" "n" "g" "t" "h" , Baseline , "s" Subscript, "t" "f" , Baseline , "p" Subscript, "o" "i" "n" "t" "v" "e" "l" , Baseline left bracket, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "x" , right bracket , "p" Subscript, "o" "i" "n" "t" "v" "e" "l" , Baseline left bracket, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "y" , right bracket , "d" Subscript, "m" "p" , Baseline , right parenthesisFs=springforcepointspring.x,pointspring.y,restlength,stf,pointvelspring.x,pointvelspring.y,dmp
Label
equals=
left parenthesis, negative 0.0 0 7 0 4 8 , negative 0.1 4 0 2 , right parenthesis−0.007048,−0.1402
left parenthesis, 0.1 3 4 6 , 0.1 2 4 9 , right parenthesis0.1346,0.1249
left parenthesis, 0.0 0 8 8 4 8 , 0 , right parenthesis0.008848,0
left parenthesis, 0.0 8 2 8 3 , 0.0 0 1 0 7 8 , right parenthesis0.08283,0.001078
left parenthesis, negative 0.2 3 3 9 , negative 0.0 9 1 7 4 , right parenthesis−0.2339,−0.09174
left parenthesis, negative 0.2 0 6 7 , 0.2 1 1 7 , right parenthesis−0.2067,0.2117
left parenthesis, negative 0.2 1 6 1 , 0.1 0 6 3 , right parenthesis−0.2161,0.1063
left parenthesis, 0.0 0 5 4 1 9 , 0.0 8 2 4 6 , right parenthesis0.005419,0.08246
left parenthesis, negative 0.1 6 7 2 , 0.1 7 1 , right parenthesis−0.1672,0.171
left parenthesis, negative 0.0 4 3 2 8 , 0.0 0 8 2 3 5 , right parenthesis−0.04328,0.008235
left parenthesis, negative 0.0 6 6 7 5 , 0.0 3 2 7 4 , right parenthesis−0.06675,0.03274
left parenthesis, 0.1 2 5 7 , 0 , right parenthesis0.1257,0
left parenthesis, negative 0.4 3 3 , negative 0.3 3 2 7 , right parenthesis−0.433,−0.3327
left parenthesis, 0.1 8 4 9 , 0.5 1 6 7 , right parenthesis0.1849,0.5167
left parenthesis, negative 0.0 9 3 4 9 , negative 0.0 4 3 4 4 , right parenthesis−0.09349,−0.04344
Expression 33: "d" Subscript, "o" "t" , Baseline left parenthesis, "a" , "b" , right parenthesis equals "a" . "x" times "b" . "x" plus "a" . "y" times "b" . "y"dota,b=a.x·b.x+a.y·b.y
33
Hidden Label: "F" Subscript, "s" "t" "o" "t" "a" "l" , Baseline equals left bracket, left parenthesis, Start sum from "n" equals 1 to "s" Subscript, "p" "r" "i" "n" "g" , Baseline ., end sum, left brace, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "x" left bracket, "n" , right bracket equals "i" : "F" Subscript, "s" , Baseline left bracket, "n" , right bracket , "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "y" left bracket, "n" , right bracket equals "i" : negative "F" Subscript, "s" , Baseline left bracket, "n" , right bracket , left parenthesis, 0 , 0 , right parenthesis , right brace , right parenthesis for "i" equals left bracket, 1... "p" Subscript, "o" "i" "n" "t" , Baseline . , right bracket , right bracketFstotal=spring.length∑n=1spring.xn=i:Fsn,spring.yn=i:−Fsn,0,0fori=1...point.length
Label
equals=
left parenthesis, negative 0.0 9 7 4 3 , negative 0.1 0 7 1 , right parenthesis−0.09743,−0.1071
left parenthesis, negative 0.3 3 2 8 , 0.4 5 9 3 , right parenthesis−0.3328,0.4593
left parenthesis, negative 0.3 3 2 , 0.6 6 6 4 , right parenthesis−0.332,0.6664
left parenthesis, negative 0.2 0 8 4 , negative 0.6 7 0 3 , right parenthesis−0.2084,−0.6703
left parenthesis, 0.3 0 6 3 , negative 1.4 9 4 , right parenthesis0.3063,−1.494
left parenthesis, 0.0 5 6 7 2 , 0.6 6 5 8 , right parenthesis0.05672,0.6658
left parenthesis, 0.2 9 1 7 , negative 0.7 0 2 5 , right parenthesis0.2917,−0.7025
left parenthesis, 0.3 1 5 4 , 0.5 4 1 3 , right parenthesis0.3154,0.5413
left parenthesis, 0.0 0 2 0 9 2 , 0.1 4 , right parenthesis0.002092,0.14
left parenthesis, negative 0.0 0 2 8 3 6 , 0.1 7 4 9 , right parenthesis−0.002836,0.1749
left parenthesis, 0.0 0 3 2 7 7 , negative 0.2 7 5 6 , right parenthesis0.003277,−0.2756
left parenthesis, negative 0.0 0 6 2 6 9 , 0.1 9 5 , right parenthesis−0.006269,0.195
left parenthesis, 0.0 0 0 5 6 6 6 , 0.2 0 4 8 , right parenthesis0.0005666,0.2048
left parenthesis, 0.0 0 3 5 9 9 , 0.2 0 2 3 , right parenthesis0.003599,0.2023
left parenthesis, 0.0 2 2 3 2 , 0.2 8 5 7 , right parenthesis0.02232,0.2857
23 element list
34
Expression 35: "l" Subscript, "e" "t" "g" "o" , Baseline equals "i" Subscript, "n" "d" "e" "x" , Baseline to 0.1letgo=index→0.1
Expression 45: "s" Subscript, "p" "r" "i" "n" "g" "f" "o" "r" "c" "e" , Baseline left parenthesis, "a" , "b" , "r" , "s" , "v" Subscript, "a" , Baseline , "v" Subscript, "b" , Baseline , "d" , right parenthesis equals left parenthesis, "s" left parenthesis, 1 minus StartFraction, "r" Over StartAbsoluteValue, "d" Subscript, "i" "r" , Baseline , EndAbsoluteValue , EndFraction , right parenthesis plus "d" Subscript, "o" "t" , Baseline left parenthesis, StartFraction, "d" Subscript, "i" "r" , Baseline Over StartAbsoluteValue, "d" Subscript, "i" "r" , Baseline , EndAbsoluteValue , EndFraction , "v" Subscript, "b" , Baseline minus "v" Subscript, "a" , Baseline , right parenthesis times "d" , right parenthesis times left parenthesis, "d" Subscript, "i" "r" , Baseline , right parenthesis with "d" Subscript, "i" "r" , Baseline equals "b" minus "a"springforcea,b,r,s,va,vb,d=s1−rdir+dotdirdir,vb−va·d·dirwithdir=b−a
45
Expression 46: "u" Subscript, "p" "d" "a" "t" "e" "r" "e" "s" "t" , Baseline equals "r" Subscript, "e" "s" "t" "l" "e" "n" "g" "t" "h" , Baseline to distance left parenthesis, "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "n" Subscript, "e" "w" , Baseline . "x" , right bracket , "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "n" Subscript, "e" "w" , Baseline . "y" , right bracket , right parenthesisupdaterest=restlength→distancepointnew.x,pointnew.y
46
Expression 47:
47
Expression 48: polygon left parenthesis, "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "x" , right bracket , "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "s" Subscript, "p" "r" "i" "n" "g" , Baseline . "y" , right bracket , right parenthesispolygonpointspring.x,pointspring.y
Run
Min Step Time: "s" Subscript, "p" "r" "i" "n" "g" , Baseline to "d" Subscript, "e" "l" "e" "t" "e" , Baseline left parenthesis, index , "s" Subscript, "p" "r" "i" "n" "g" , Baseline , right parenthesisspring→deleteindex,spring
on click
48
Expression 49: "d" Subscript, "e" "l" "e" "t" "e" , Baseline left parenthesis, "i" , "l" , right parenthesis equals "l" left bracket, StartAbsoluteValue, left bracket, 1... "l" . , right bracket minus "i" , EndAbsoluteValue greater than 0 , right bracketdeletei,l=l1...l.length−i>0
49
Expression 50: polygon left parenthesis, "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "i" Subscript, "n" "d" "e" "x" , Baseline , right bracket , "p" Subscript, "o" "i" "n" "t" , Baseline left bracket, "i" Subscript, "n" "d" "e" "x" 2 , Baseline , right bracket , right parenthesispolygonpointindex,pointindex2
Run
Min Step Time: "a" Subscript, "d" "d" "s" "p" "r" "i" "n" "g" , Baselineaddspring