{"id":9295,"student_id":1470,"content":"setBackdrop(\"grey\");\n\nvar normalText = \"KODINGSCHOOL\";\nvar binaryEncryption = \"\";\n\nfunction encrypt(){\n normalText = '*' + normalText + \"*\";\n for(var i = 0; i \u003c normalText.length; i++){\n console.log(normalText[i]);\n binaryEncryption += characters[normalText[i]];\n binaryEncryption += \"0\";\n }\n console.log(binaryEncryption);\n}\n\nfunction display(){\n pen.color = \"white\";\n var barGap = 540/binaryEncryption.length;\n for(var i = 0; i \u003c binaryEncryption.length; i++){\n if(binaryEncryption[i] == 0){\n pen.fillColor = \"white\"; \n } else {\n pen.fillColor = \"black\";\n }\n pen.drawRect(50 + i * barGap, 30, barGap, 100);\n \n\n }\n var textGap = 540/normalText.length;\n for(var i = 0; i \u003c normalText.length; i++){\n print(normalText[i], 60 + i*textGap, 150);\n }\n}\n\nencrypt();\ndisplay();\nstop();\n","created_at":"2017-03-01T20:52:04.729+08:00","updated_at":"2019-11-10T03:58:01.621+08:00","name":"條碼生成器","language":"javascript","screenshot":{"url":"https://cdn9.koding.school/uploads/project/screenshot/9295/7f2d69084ff6e0bef2dce527ce79ba3d.jpg"},"parent_id":2,"plugin":"var characters = {\n \"$\": '100100100101',\n '/': '100100101001',\n '+': '100101001001',\n '-': '100101011011',\n 'X': '100101101011',\n '*': '100101101101',\n 'V': '100110101011',\n ' ': '100110101101',\n 'Z': '100110110101',\n '%': '101001001001',\n '7': '101001011011',\n '4': '101001101011',\n '0': '101001101101',\n 'G': '101010011011',\n 'Q': '101010110011',\n 'D': '101011001011',\n 'J': '101011001101',\n 'N': '101011010011',\n 'T': '101011011001',\n '2': '101100101011',\n '9': '101100101101',\n '6': '101100110101',\n 'B': '101101001011',\n 'I': '101101001101',\n 'L': '101101010011',\n 'S': '101101011001',\n 'F': '101101100101',\n 'P': '101101101001',\n 'U': '110010101011',\n '0': '110010101101',\n 'Y': '110010110101',\n 'W': '110011010101',\n '1': '110100101011',\n '8': '110100101101',\n '5': '110100110101',\n 'A': '110101001011',\n 'H': '110101001101',\n 'K': '110101010011',\n 'R': '110101011001',\n 'E': '110101100101',\n 'O': '110101101001',\n '3': '110110010101',\n 'C': '110110100101',\n \"M\": '110110101001',\n}\n\n","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":476,"hashid":"2pds929z","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":205031,"file_name":"0.png","project_id":9295,"asset_id":6,"created_at":"2017-08-15T14:32:30.395+08:00","updated_at":"2017-08-15T14:32:30.395+08:00"},{"id":205032,"file_name":"1.svg","project_id":9295,"asset_id":7,"created_at":"2017-08-15T14:32:30.400+08:00","updated_at":"2017-08-15T14:32:30.400+08:00"},{"id":205033,"file_name":"2.png","project_id":9295,"asset_id":8,"created_at":"2017-08-15T14:32:30.403+08:00","updated_at":"2017-08-15T14:32:30.403+08:00"},{"id":205034,"file_name":"0.wav","project_id":9295,"asset_id":9,"created_at":"2017-08-15T14:32:30.405+08:00","updated_at":"2017-08-15T14:32:30.405+08:00"},{"id":205035,"file_name":"1.wav","project_id":9295,"asset_id":10,"created_at":"2017-08-15T14:32:30.407+08:00","updated_at":"2017-08-15T14:32:30.407+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦