{"id":150231,"student_id":10,"content":"from browser import document, window\nimport math\nimport random\n\n#==================== 預設 ====================#\nsetBackdrop(\"#000\")\nEinstein = createSprite(\"bg.jpg\")\n\ndef download ():\n link = document.createElement('a')\n link.href = window.stage.toDataURL()\n link.download = 'haha.jpg'\n link.click()\nEinstein.on('click', download)\n#==================================================#\n\nsaying = [\n \"你有 freeStyle 嗎?\",\n \"我覺得不行\",\n \"我覺得很普通\",\n \"一看就知道是老江湖\",\n \"我覺得可以\",\n \"糖糖先幫我記著!\",\n \"Bang!!\",\n \"人生好難...\",\n \"滿滿的 大!平!台!\",\n \"垃圾不分藍綠\",\n \"沒事兒沒事兒\",\n \"不能只有我看到\",\n \"醒醒吧,你根本沒有妹妹!\",\n \"56不能亡\",\n \"你在大聲什麼啦\",\n \"可是瑞凡\",\n \"嚇死寶寶了\",\n \"下去領500\"\n];\n\nindex = 0\n\ndef loop ():\n drawText(saying[index], 400, 720, 'white', 30)\n drawText(\"- 愛因斯坦\", 90, 840, 'white', 20)\n \ndef randSentence ():\n global index\n ran = random.random()*len(saying)\n index = math.floor(ran)\n\n\non('click', randSentence)\nforever(loop)","created_at":"2020-05-22T14:24:45.756+08:00","updated_at":"2020-05-25T11:55:26.213+08:00","name":"語錄產生器","language":"python","screenshot":{"url":"/uploads/project/screenshot/150231/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":422,"hashid":"wdkskmjy","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2607321,"file_name":"bg.jpg","project_id":150231,"asset_id":216656,"created_at":"2020-05-22T14:31:11.886+08:00","updated_at":"2020-05-22T14:31:11.886+08:00"}]
Orange Apple Learning Platform
My Projects
View Project Page
Export
Remix
Import
Delete
Screenshot
繁中
简中
English
日本語
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer