Guest User

Untitled

a guest
Jan 23rd, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. %!PS-Adobe-3.0 EPSF-3.0
  2. %%BoundingBox: 0 0 600 600
  3.  
  4. % ***** Valuable Information about Mario Kart 8 DX Soft Drifting *****
  5. %
  6. % How to soft drift in Mario Kart 8 DX?
  7. % This diagram illustrates USB Controller Output Values for fast MT charging.
  8. % Please move your joystick to output the value plotted as a filled circle.
  9. %
  10. % You can see that the border angle of soft drifting is about 45 degree (non-inclusive 45 degree).
  11.  
  12. %----- CONFIGURATION begin -----
  13.  
  14. /normalize false def
  15.  
  16. /xcenter 300 def
  17. /ycenter 300 def
  18. /radius 200 def
  19.  
  20. /pointradius 0.5 def
  21. /thickwidth 0.5 def
  22. /thinwidth 0.1 def
  23.  
  24. %----- CONFIGURATION end -----
  25.  
  26. normalize {
  27. /minw1 radius 128 div def
  28. /minw2 radius 127 div def
  29. /radius2 radius 2 sqrt mul def
  30. } {
  31. /minw1 radius 128 div def
  32. /minw2 radius 128 div def
  33. /radius2 radius minw1 sub 2 sqrt mul def
  34. } ifelse
  35.  
  36. /transxy {
  37. dup
  38. 128 le {
  39. minw1 mul
  40. } {
  41. 128 sub minw2 mul minw1 128 mul add
  42. } ifelse
  43. } def
  44.  
  45. /xbase xcenter 128 minw1 mul sub def
  46. /xmax xcenter 127 minw2 mul add def
  47.  
  48. /ybase ycenter 128 minw1 mul sub def
  49. /ymax ycenter 127 minw2 mul add def
  50.  
  51. /vline {
  52. newpath
  53. setlinewidth
  54. dup transxy xbase add ybase moveto
  55. dup transxy xbase add ymax lineto
  56. 1 setlinecap stroke
  57. } def
  58.  
  59. /hline {
  60. newpath
  61. setlinewidth
  62. dup transxy ybase add xbase exch moveto
  63. dup transxy ybase add xmax exch lineto
  64. 1 setlinecap stroke
  65. } def
  66.  
  67. /point {
  68. newpath
  69. 0 setlinewidth
  70. exch transxy xbase add
  71. exch transxy ybase add
  72. pointradius 0 360 arc
  73. fill
  74. } def
  75.  
  76. 0 ycenter 2 mul translate
  77. 1 -1 scale
  78.  
  79. newpath
  80. thinwidth setlinewidth
  81. xcenter ycenter radius 0 360 arc
  82. stroke
  83.  
  84. newpath
  85. thinwidth setlinewidth
  86. xcenter ycenter radius2 0 360 arc
  87. stroke
  88.  
  89. newpath
  90. xbase ybase xmax xbase sub ymax ybase sub rectclip
  91.  
  92. newpath
  93. thickwidth setlinewidth
  94. xcenter radius2 sub ycenter radius2 sub moveto
  95. xcenter radius2 add ycenter radius2 add lineto
  96. stroke
  97.  
  98. newpath
  99. thickwidth setlinewidth
  100. xcenter radius2 add ycenter radius2 sub moveto
  101. xcenter radius2 sub ycenter radius2 add lineto
  102. stroke
  103.  
  104. initclip
  105.  
  106. newpath
  107. thickwidth setlinewidth
  108. xcenter ybase moveto
  109. xcenter ymax lineto
  110. stroke
  111.  
  112. newpath
  113. thickwidth setlinewidth
  114. xbase ycenter moveto
  115. xmax ycenter lineto
  116. stroke
  117.  
  118. 0 1 255 {
  119. thinwidth vline
  120. } for
  121.  
  122. 0 1 255 {
  123. thinwidth hline
  124. } for
  125.  
  126. /points {
  127. 1 exch {
  128. exch dup 3 1 roll exch point
  129. } for
  130. } def
  131.  
  132. %----- LEFT begin -----
  133.  
  134. 0 2 253 points
  135. 1 3 252 points
  136. 2 4 251 points
  137. 3 5 251 points
  138. 4 6 250 points
  139. 5 7 249 points
  140. 6 8 248 points
  141. 7 8 247 points
  142. 8 9 246 points
  143. 9 10 245 points
  144. 10 11 244 points
  145. 11 12 243 points
  146. 12 13 242 points
  147. 13 14 241 points
  148. 14 15 240 points
  149. 15 16 239 points
  150. 16 17 238 points
  151. 17 18 237 points
  152. 18 19 236 points
  153. 19 20 235 points
  154. 20 21 234 points
  155. 21 22 233 points
  156. 22 23 232 points
  157. 23 24 231 points
  158. 24 25 230 points
  159. 25 26 229 points
  160. 26 27 228 points
  161. 27 28 227 points
  162. 28 29 226 points
  163. 29 30 225 points
  164. 30 31 224 points
  165. 31 32 223 points
  166. 32 33 222 points
  167. 33 34 221 points
  168. 34 35 220 points
  169. 35 36 219 points
  170. 36 37 218 points
  171. 37 38 217 points
  172.  
  173. %----- LEFT end -----
  174.  
  175. %----- RIGHT begin -----
  176.  
  177. 255 2 253 points
  178. 254 3 252 points
  179. 253 4 251 points
  180. 252 5 250 points
  181. 251 6 250 points
  182. 250 7 249 points
  183. 249 8 248 points
  184. 248 9 247 points
  185. 247 10 246 points
  186. 246 11 245 points
  187. 245 12 244 points
  188. 244 13 243 points
  189. 243 14 242 points
  190. 242 15 241 points
  191. 241 16 240 points
  192. 240 17 239 points
  193. 239 18 238 points
  194. 238 19 237 points
  195. 237 20 236 points
  196. 236 21 235 points
  197. 235 22 234 points
  198. 234 23 233 points
  199. 233 24 232 points
  200. 232 25 231 points
  201. 231 26 230 points
  202. 230 27 229 points
  203. 229 28 228 points
  204. 228 29 227 points
  205. 227 30 226 points
  206. 226 31 225 points
  207. 225 32 224 points
  208. 224 33 223 points
  209. 223 34 222 points
  210. 222 35 221 points
  211. 221 36 220 points
  212. 220 37 219 points
  213. 219 38 218 points
  214.  
  215. %----- RIGHT end -----
  216.  
  217. showpage
Add Comment
Please, Sign In to add comment