劉任昌Javascript執行三角函數繪圖
Javascript在網頁就可以執行不需要開啟Spyder 劉任昌執行 以上程式碼 <STYLE>BUTTON{BORDER:GREEN 5PX SOLID;BORDER-RADIUS:30PX;}</STYLE> <h1>Javascript在網頁就可以執行不需要開啟Spyder</h1> <button onclick="LH()">劉任昌執行</button> <canvas height="400" id="my" style="background: black;" width="1200"></canvas> <script> function LH() { var c = document.getElementById("my"); var cty = c.getContext("2d"); var x = 0; var y = 200; var h = 100; cty.beginPath(); cty.lineWidth = 5; cty.moveTo(x,y); while (x < 1000){ x = x + 1; y = 200 - h * Math.sin(0.2*x); cty.lineTo(x, y); cty.strokeStyle = "yellow"; cty.stroke(); }; } </script>
https://su-you-an.blogspot.com/2023/12/java.html
回覆刪除作者已經移除這則留言。
回覆刪除https://su-you-an.blogspot.com/2023/12/blog-post.html
回覆刪除同學之間要讚美!這個蘇祐安,很優,去把他,把到他,這種男人... 不要放掉。https://su-you-an.blogspot.com/2023/11/vscodehtmlcssjs.html
刪除https://linxinzhuo.blogspot.com/2024/01/canvassvg.html
回覆刪除https://linxinzhuo.blogspot.com/2024/01/158170math.html
回覆刪除https://linxinzhuo.blogspot.com/2024/01/javascriptcanvas.html
回覆刪除作者已經移除這則留言。
回覆刪除https://zzzzikoo.blogspot.com/2024/01/canvassvg.html
回覆刪除https://zzzzikoo.blogspot.com/2024/01/javascriptcanvas.html
回覆刪除https://chen0119.blogspot.com/2024/01/2024.html
回覆刪除https://chen0119.blogspot.com/2024/01/canvassvg.html
回覆刪除https://chen0119.blogspot.com/2024/01/158170math.html
回覆刪除https://chen0119.blogspot.com/2024/01/javascriptcanvas.html
回覆刪除https://www.blogger.com/blog/post/edit/4616311045112546689/8454453770135204888
回覆刪除https://linxinzhuo.blogspot.com/2024/01/20240103.html
回覆刪除https://zzzzikoo.blogspot.com/2024/01/java-import-java.html
回覆刪除https://fgjjfufutfytfyyfyuk.blogspot.com/2024/01/canvas.html
回覆刪除