{"id":180591,"student_id":12205,"content":"//興增變數(測試)\nvar 測試 =2+2*425-422*424-214-41849+220139+100*200/200*200/200/100-1+77\n//播放背景音樂\nsound.play(\"Gymnopedie_No_1.mp3\");\n//重複無限次\nforever(function(){\n//設定標題為:javascript教學,x設為205,y設為80,顏色設為黑色,字體大小為100\n print(\"javascript教學\",205,80,\"white\",50);\n print(測試,240,240,\"gold\",50);\n print(\"測試\",520,400,\"green\",50);\n});\n//----------------------------------------------------我是分隔線,以下為煙火程式碼----------------------------------------------------我是分隔線,以下為煙火程式碼----------------------------------------------------我是分隔線,以下為煙火程式碼----------------------------------------------------\nsetBackdrop(\"black\");\n\nvar lights = [];\nfor(var i = 0;i\u003c15;i++) {\n var light = {\n x:cursor.x,\n y:cursor.y,\n color:\"rgb(\"+Math.floor(Math.random()*255)+\",\"+Math.floor(Math.random()*255)+\",\"+Math.floor(Math.random()*255)+\")\",\n vx:Math.random() *8 - 4,\n vy:Math.random() *8 - 4,\n r:Math.random() * 6\n };\n lights.push(light);\n};\n\nforever(function(){\n for(var i=0;i\u003clights.length;i++) {\n var light = lights[i];\n light.x +=light.vx;\n light.y +=light.vy;\n light.vy +=0.1\n light.r *=0.99\n pen.size = 0;\n pen.fillColor = light.color;\n if(light.r\u003e1) {\n pen.drawCircle(light.x,light.y,light.r);\n };\n }\n for(var i = 0;i\u003c15;i++) {\n var light = {\n x:cursor.x,\n y:cursor.y,\n color:\"rgb(\"+Math.floor(Math.random()*255)+\",\"+Math.floor(Math.random()*255)+\",\"+Math.floor(Math.random()*255)+\")\",\n vx:Math.random() *8 - 4,\n vy:Math.random() *8 - 4,\n r:Math.random() * 6\n };\n lights.push(light);\n };\n \n});\n\n\n","created_at":"2020-08-14T11:46:46.544+08:00","updated_at":"2020-08-14T14:45:36.475+08:00","name":"word","language":"javascript","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/180591/9820083d1ae51a3587e4c7d78a933ec5.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":38,"hashid":"2pdsgqqe","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3077154,"file_name":"01.jpg","project_id":180591,"asset_id":249445,"created_at":"2020-08-14T12:26:39.448+08:00","updated_at":"2020-08-14T12:26:39.448+08:00"},{"id":3077144,"file_name":"Gymnopedie_No_1.mp3","project_id":180591,"asset_id":182919,"created_at":"2020-08-14T11:46:46.551+08:00","updated_at":"2020-08-14T11:46:46.551+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦