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://kitty030994.blogspot.com/2023/09/w3schoolsemojiascii-code-javascript.html
回覆刪除https://wilson11122.blogspot.com/2023/09/w3schoolsemojlascii-codejavascript.html
回覆刪除https://hui026.blogspot.com/2023/09/w3schoolsemojiascll-codejavascript.html
回覆刪除https://d10836153.blogspot.com/2023/09/w3schoollemojiascii.html
回覆刪除https://amyxl6316.blogspot.com/2023/09/w3schoolsemojiascii-codejavascript.html
回覆刪除https://asd0908449304.blogspot.com/2023/09/w3schoolsemoji-ascll-code-javacript.html
回覆刪除https://htmlcssjavascriptjavapython.blogspot.com/2023/09/w3schoolemojiascll-code-javacript.html
回覆刪除https://zhan1111.blogspot.com/
回覆刪除https://cindy650092.blogspot.com/2023/09/w3schoolsemojiascii-codejavascript.html
回覆刪除https://grace8166.blogspot.com/2023/09/w3schools-emoji-ascii-code.html
回覆刪除https://tustning.blogspot.com/2023/09/w3schools-emoji-ascii-codejavascript.html
回覆刪除https://xi715.blogspot.com/p/h1border-dashed-10px-blue-padding-10px.html
回覆刪除https://yun0205.blogspot.com/2023/09/w3schoolsemoji-ascii-code-javascript.html
回覆刪除https://oscarliu1688.blogspot.com/2023/09/w3schoolemoji-ascii-code-javascript.html
回覆刪除https://whitexd.blogspot.com/2023/09/wschoolsemojiascii-codejavascript.html
回覆刪除https://lawrence655064.blogspot.com/2023/09/bytebit265-display-display6566.html
回覆刪除https://keiime.blogspot.com/2023/09/ascii-code-byte8bit82256-display.html
回覆刪除https://rrrrr-eeeee.blogspot.com/2023/09/javascriptfor30-h1border-dashed-10px.html
回覆刪除https://ctz642895.blogspot.com/2023/09/w3schoolemojiascll-codejavascript.html
回覆刪除https://www.blogger.com/blog/post/edit/337151898195203108/7568399872160469544
回覆刪除