{"id":21408,"student_id":1981,"content":"setBackdrop(\"black\");\nvar einstein = createSprite(\"Einstein.jpg\");\nvar saying = ['我覺得你長得很像金城武' , '我覺得可以' , '你有freestyle']\nvar index = Math.floor(Math.random() * saying.length);\neinstein.on(\"click\",function(){\n index = Math.floor(Math.random() * saying.length);\n})\n\nforever(function(){\n //print(文字內容,x,y,顏色,字體大小)\n print(index,20,20,'white',10)\n print(saying[index],200,360, 'white',30);\n print(\"-愛因斯坦\",450,420, 'white',20);\n})\n\n\n","created_at":"2018-02-02T22:06:38.447+08:00","updated_at":"2020-12-23T20:19:14.130+08:00","name":"語錄產生器","language":"javascript","screenshot":{"url":"https://cdn5.koding.school/uploads/project/screenshot/21408/127073f9af6081054e9a690e63bd7ffd.jpg"},"parent_id":10725,"plugin":"var saying = [\"\"];\nvar link = document.createElement('a');\nlink.style = \"position:absolute; bottom: 40px; left: 20px; color: white;\"\nlink.innerHTML = '😈點我下載圖片😈';\ndocument.getElementsByTagName('body')[0].appendChild(link);\n\nlink.addEventListener('click', function() {\n link.href = stage.toDataURL();\n link.download = saying[index] + '.jpg';\n}, false);","description":"","note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":127,"hashid":"npmszr9q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":415795,"file_name":"Einstein.jpg","project_id":21408,"asset_id":24772,"created_at":"2018-02-02T22:06:38.454+08:00","updated_at":"2018-02-02T22:06:38.454+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦