{"id":27754,"student_id":10,"content":"stopRendering();\n\npen.fillColor = 'white';\npen.drawRect(0, 0, 640, 480);\n\nvar s = createSprite('dot.png');\ns.y = 480;\ns.direction = 0;\nvar leaves = [s];\n\n\nfor(var i=1; i\u003c8; i++) { \n leaves.forEach(function (l) {\n var fromX = l.x;\n var fromY = l.y;\n l.stepForward(600/(2**i));\n var toX = l.x;\n var toY = l.y;\n pen.size = 8 - i;\n pen.drawLine(fromX, fromY, toX, toY);\n \n l.direction = l.direction - 180;\n for (var z=0; z\u003c4; z++) {\n var s = createSprite('dot.png');\n s.moveTo(l);\n s.direction = l.direction + 72*(z + 1);\n \n leaves.push(s);\n }\n });\n};","created_at":"2018-05-03T01:31:38.217+08:00","updated_at":"2019-11-11T01:03:06.548+08:00","name":"tractal tree","language":"javascript","screenshot":{"url":"https://cdn1.koding.school/uploads/project/screenshot/27754/daed429a56906d0d4ee9b49b4987d1c9.jpg"},"parent_id":27753,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":328,"hashid":"ej9s9jny","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":511197,"file_name":"dot.png","project_id":27754,"asset_id":62758,"created_at":"2018-05-03T01:31:38.224+08:00","updated_at":"2018-05-03T01:31:38.224+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦