摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> body { background: black; text-align: center; } #cans { background: white; 阅读全文
摘要:
<canvas id="cans" height="800" width="1200" ></canvas> <script> function disToRad(n){ // 把角度转换为弧度 return n*Math.PI/180; //π用PI表示,π=180°,所以1°=PI/180 } 阅读全文