Advertisement
hwchugh

Pokemon : Death Version #5.5

Nov 16th, 2013
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. POKEMON DEATH VERSION PART 5.5
  2. ???: Alright then....
  3. ???: Deoxys...Now it is your time...
  4. ??? inputs the following behavioral mechanisms into the machine...
  5.  
  6. //code ("00101101011001") was entered;})
  7.  
  8. // program ("deoxysomega") is initializing
  9.  
  10. var alphaLevel = 0.05;
  11. var degreesOfFreedom = 18;
  12.  
  13. // the answer I want to get is 25.8069758011
  14. tStat = jStat.studentt(alphaLevel,degreesOfFreedom);
  15.  
  16. // but all that is returned is an object with
  17. // members _a,_b,_c (_a=alphaLevel, _b=degreesOfFreedom,_c=undefined).
  18.  
  19.  
  20.  
  21. d3.json("virusOrigins.json", function(dataset) {
  22.     var w = 200;
  23.     var h = 300;
  24.     var barPadding = 1;
  25.     var xScale = d3.scale.linear()
  26.                     .domain([0, d3.max(dataset, function(d) { return d.value; })])
  27.                     .rangeRound([5, w])
  28.                     .nice();
  29.  
  30.     var svg = d3.select("body")
  31.         .append("svg")
  32.         .attr("width", w)
  33.         .attr("height", h)
  34.  
  35.         // append base rectangle
  36.         .append("rect")
  37.         .attr("width", w)
  38.         .attr("height", h)
  39.         .attr("fill", "#ccc");
  40.     svg.selectAll("rect.bars")
  41.         .data(dataset)
  42.         .enter()
  43.         .append("rect")
  44.         .attr("y", function(d, i) {
  45.             return i * (h / dataset.length);
  46.         })
  47.         .attr("x", 0)
  48.         .attr("width", function (d) {
  49.             return xScale(d.value);
  50.         })
  51.         .attr("height", function(d) {
  52.             return (h / dataset.length) - barPadding;
  53.         })
  54.         .attr("fill", "#f33")
  55.         .classed("bars", true);
  56. });
  57.  
  58. ??? enters in coodinates....
  59.  
  60.        
  61. <svg width="200" height="300">
  62.     <rect width="200" height="300" fill="#ccc">
  63.         <rect y="0" x="0" width="13" height="32.333333333333336" fill="#f33" class="bars"></rect>
  64.         <rect y="33.333333333333336" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  65.         <rect y="66.66666666666667" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  66.         <rect y="100" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  67.         <rect y="133.33333333333334" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  68.         <rect y="166.66666666666669" x="0" width="200" height="32.333333333333336" fill="#f33" class="bars"></rect>
  69.         <rect y="200" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  70.         <rect y="233.33333333333334" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  71.         <rect y="266.6666666666667" x="0" width="5" height="32.333333333333336" fill="#f33" class="bars"></rect>
  72.     </rect>
  73. </svg>
  74.  
  75. // resume initialization for program ("deoxysomega")
  76.  
  77. // coordinates for ("attackzone") initialized;})
  78.        
  79. var svg = d3.select("body")
  80.     .append("svg")
  81.     .attr("width", w)
  82.     .attr("height", h);
  83.  
  84. // append base ("nuclear power brain");})
  85. svg.append("rect")
  86.     .attr("width", w)
  87.     .attr("height", h)
  88.     .attr("fill", "#ccc");
  89. svg.selectAll("rect.bars")
  90.     .data(dataset)
  91.     .enter()
  92.     .append("rect")
  93. // etc
  94.        
  95. svg.selectAll("rect.bars")
  96.    .data(dataset, function(d){return d;}) <-- Here *
  97.    .enter()
  98.    .append("rect")
  99.    ...
  100.  
  101.  
  102. @property (strong, nonatomic) NSPower *integrity;
  103. @property (strong, nonatomic) NSPower *killer;
  104. @property (strong, nonatomic) NSDate *start;
  105. @property (strong, nonatomic) NSDate *end;
  106. @property (strong, nonatomic) NSBrain *weaponLink;
  107. @property (strong, nonatomic) NSBrain *godLink;
  108. @property (strong, atomic) NSNuclear <LimitBreak> *killLink;
  109. @end
  110.  
  111.  
  112. // program ("deoxysomega") is initialized in the specimen;})
  113.  
  114.  
  115. ???: Excellent....
  116. ???: Now go and kill them both...with your desired parter...
  117. Deoxys slowly flies through the hole in the ceiling....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement