40423154 四設一甲 闕崇晉
# 導入 doc from browser import document as doc from browser import console import math # 準備繪圖畫布 canvas = doc["plotarea2"] ctx = canvas.getContext("2d") # 開始畫直線 ctx.beginPath() ctx.lineWidth = 5 ctx.moveTo(50,300) ctx.lineTo(50, 400) ctx.lineTo(150, 400) ctx.lineTo(150, 300) ctx.lineTo(50, 300) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(150,300) ctx.lineTo(150, 180) ctx.lineTo(350, 180) ctx.lineTo(350, 400) ctx.lineTo(150, 400) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(350,400) ctx.lineTo(350, 200) ctx.lineTo(470, 200) ctx.lineTo(470, 400) ctx.lineTo(350, 400) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(90,300) ctx.lineTo(75, 230) ctx.lineTo(130, 210) ctx.lineTo(90, 300) ctx.strokeStyle = "#00ff00" ctx.stroke()
ctx.moveTo(250,180) ctx.lineTo(200, 80) ctx.lineTo(300, 130) ctx.lineTo(250,180) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(420,200) ctx.lineTo(390, 170) ctx.lineTo(430, 190) ctx.lineTo(420, 200) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(50,330) ctx.lineTo(350, 330) ctx.moveTo(50,360) ctx.lineTo(150, 360) ctx.moveTo(150,300) ctx.lineTo(350, 300) ctx.moveTo(420,200) ctx.lineTo(390, 170) ctx.moveTo(100,400) ctx.lineTo(100, 300) ctx.moveTo(220,400) ctx.lineTo(220, 180) ctx.moveTo(290,400) ctx.lineTo(290, 180) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(390,400) ctx.lineTo(390, 200) ctx.moveTo(430,400) ctx.lineTo(430, 200) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(350,270) ctx.lineTo(470, 270) ctx.moveTo(350,340) ctx.lineTo(470, 340) ctx.strokeStyle = "#00ff00" ctx.stroke() ctx.moveTo(150,270) ctx.lineTo(350, 270) ctx.strokeStyle = "#00ff00" ctx.stroke() Happy Christmas!!!祝大家平安快樂!!
祝大家聖誕快樂
70分!!Merry Christmas☆★★☆