Browse Source

3.1415

master
quegzacov 2 years ago
parent
commit
87da018694
  1. 4
      index.php

4
index.php

@ -20,9 +20,9 @@ var_dump($res);
<script type="text/javascript"> <script type="text/javascript">
var datalist= new Array(35, 25, 20, 12, 7, 1); var datalist= new Array(35, 25, 20, 12, 7, 1);
var colist = new Array('blue', 'red', 'green', 'orange', 'gray', 'yellow'); var colist = new Array('blue', 'red', 'green', 'orange', 'gray', 'yellow');
var canvas = document.getElementById("canvas3"); var canvas = document.getElementById("roulette");
var rendu = canvas.getContext('2d'); var rendu = canvas.getContext('2d');
pie(rendu, canvas.width, canvas.height, datalist); draw_roulette(rendu, canvas.width, canvas.height, datalist);
</script> </script>
</body> </body>
</html> </html>

Loading…
Cancel
Save