python程式碼 from tkinter import * #或者import tkinter as tk import math tk = Tk() #建構視窗名為tk tk.geometry('1200x400')#視窗 寬1200像素 tk.title("劉任昌python tkinter三角函數") canvas = Canvas(tk, width=1200, height=400, bg='black') canvas.grid(row=0,column=0,padx=5,pady=5,columnspan=3) delay=10 # milliseconds, 1/1000秒 x1,y1,z1=0,200,10#python特徵,多變數=對等值 h=190 #上下範圍,相當於數學1到-1 L1=canvas.create_line(0,200,1200,200,fill='white',width=5) def LH(): global x1, y1, z1#global全球,local當地 x2 = x1 + 1 #換到下個+1 y2=200 - h*math.sin(0.02*x2) z2=200 - h*math.cos(0.02*x2) L1=canvas.create_line(x1,y1,x2,y2,fill='pink',width=10) L2=canvas.create_line(x1,z1,x2,z2,fill='green',width=10) if (x2
https://kk0725.blogspot.com/2024/06/d11236113.html
回覆刪除https://wilson11122.blogspot.com/2024/06/from-tkinter-import-def.html
回覆刪除https://yun0205.blogspot.com/2024/06/d1250107.html
回覆刪除https://addison030.blogspot.com/2024/06/d10813267.html
回覆刪除https://hui026.blogspot.com/2024/06/d11250106.html
回覆刪除https://aks8704100.blogspot.com/2024/06/d10621341.html
回覆刪除https://ctz642895.blogspot.com/2024/06/d11236103.html
回覆刪除https://whitexd.blogspot.com/2024/06/d11236117.html
回覆刪除https://tustning.blogspot.com/2024/06/d11236114.html
回覆刪除https://ryanareryan.blogspot.com/2024/06/d11236112.html
回覆刪除https://xi715.blogspot.com/2024/06/youtube-video-player.html
回覆刪除https://oscarliu1688.blogspot.com/2024/06/d11236119.html
回覆刪除作者已經移除這則留言。
回覆刪除https://www.blogger.com/blog/post/edit/2910868344786410340/2071485664410925403
回覆刪除https://asd0908449304.blogspot.com/2024/06/d11236107.html
回覆刪除https://amyxl6316.blogspot.com/2024/06/d123456.html
回覆刪除https://htmlcssjavascriptjavapython.blogspot.com/2024/06/d11236109.html
回覆刪除https://5lujo.blogspot.com/2024/06/d11250111.html
回覆刪除https://leeyicheng0531.blogspot.com/2024/06/d11236111.html
回覆刪除https://rainhtmlcssjavascriptjavapython.blogspot.com/2024/06/d11236115.html
回覆刪除https://yuechen613.blogspot.com/2024/06/from-tkinter-import-def.html
回覆刪除https://ziyun040818.blogspot.com/2024/06/d11236104.html
回覆刪除https://www.blogger.com/blog/post/edit/54203825179940246/442508119619353077
回覆刪除https://keiime.blogspot.com/2024/06/d11250104.html
回覆刪除https://njcjww.blogspot.com/2024/06/d11250108.html
回覆刪除https://grace8166.blogspot.com/2024/06/d11250109.html
回覆刪除作者已經移除這則留言。
回覆刪除