JavaScript 数値演算 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(対数・指数函数 log/exp)
738行: 738行:
 
/* 円を描く */
 
/* 円を描く */
 
function draw3() {
 
function draw3() {
 +
  document.write('test');
 
   var canvas = document.getElementById('c3');
 
   var canvas = document.getElementById('c3');
 
   if ((! canvas) || (! canvas.getContext) ) { return false; }
 
   if ((! canvas) || (! canvas.getContext) ) { return false; }
 +
 
   var ctx = canvas.getContext('2d');
 
   var ctx = canvas.getContext('2d');
 +
 +
 
   ctx.beginPath();
 
   ctx.beginPath();
 
   ctx.moveTo(200, 0);
 
   ctx.moveTo(200, 0);
785行: 789行:
  
 
<ycanvas id="c3" width="1098" height="400"></ycanvas>
 
<ycanvas id="c3" width="1098" height="400"></ycanvas>
 +
 
=== 乱数 random ===
 
=== 乱数 random ===
 
 
 
 

2016年4月7日 (木) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス