Guest User

Untitled

a guest
Dec 14th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. Q = Q(0) = k
  2. Q1 = Q1(0) = a*d^3 + b*d^2 + c*d
  3. Q2 = Q2(0) = b*a*d^3 + 2*b*d
  4. Q3 = Q3(0) = b*a*d^3
  5.  
  6. repeat 1/d times:
  7. drawLine(Q, Q + Q1)
  8. Q += Q1
  9. Q1 += Q2
  10. Q2 += Q3
Add Comment
Please, Sign In to add comment