{"id":26747,"student_id":2589,"content":"{\n\t\"objName\": \"Stage\",\n\t\"variables\": [{\n\t\t\t\"name\": \"全部的點點數\",\n\t\t\t\"value\": 208942,\n\t\t\t\"isPersistent\": false\n\t\t},\n\t\t{\n\t\t\t\"name\": \"圓內的點點數\",\n\t\t\t\"value\": 165225,\n\t\t\t\"isPersistent\": false\n\t\t},\n\t\t{\n\t\t\t\"name\": \"圓周率 (近似值)\",\n\t\t\t\"value\": 3.163078749126552,\n\t\t\t\"isPersistent\": false\n\t\t}],\n\t\"scripts\": [[46.9,\n\t\t\t59.2,\n\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t[\"setVar:to:\", \"全部的點點數\", 0],\n\t\t\t\t[\"setVar:to:\", \"圓內的點點數\", 0],\n\t\t\t\t[\"setVar:to:\", \"圓周率 (近似值)\", 0],\n\t\t\t\t[\"doForever\",\n\t\t\t\t\t[[\"setVar:to:\", \"圓周率 (近似值)\", [\"*\", 4, [\"\\/\", [\"readVariable\", \"圓內的點點數\"], [\"readVariable\", \"全部的點點數\"]]]]]]]]],\n\t\"sounds\": [{\n\t\t\t\"soundName\": \"pop\",\n\t\t\t\"soundID\": -1,\n\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\"sampleCount\": 258,\n\t\t\t\"rate\": 11025,\n\t\t\t\"format\": \"\"\n\t\t}],\n\t\"costumes\": [{\n\t\t\t\"costumeName\": \"backdrop1\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"39c93a208454f98ee17032674d0f08a4.svg\",\n\t\t\t\"bitmapResolution\": 1,\n\t\t\t\"rotationCenterX\": 240,\n\t\t\t\"rotationCenterY\": 180\n\t\t}],\n\t\"currentCostumeIndex\": 0,\n\t\"penLayerMD5\": \"37c100f51b92329b54f87f9700ad9eab.png\",\n\t\"penLayerID\": -1,\n\t\"tempoBPM\": 60,\n\t\"videoAlpha\": 0.5,\n\t\"children\": [{\n\t\t\t\"objName\": \"點點\",\n\t\t\t\"scripts\": [[36.1,\n\t\t\t\t\t62.9,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"clearPenTrails\"],\n\t\t\t\t\t\t[\"doForever\",\n\t\t\t\t\t\t\t[[\"xpos:\", [\"randomFrom:to:\", -180, 180]],\n\t\t\t\t\t\t\t\t[\"ypos:\", [\"randomFrom:to:\", -180, 180]],\n\t\t\t\t\t\t\t\t[\"doIfElse\",\n\t\t\t\t\t\t\t\t\t[\"\u003c\", [\"distanceTo:\", \"圓心\"], \"181\"],\n\t\t\t\t\t\t\t\t\t[[\"lookLike:\", \"藍點點\"], [\"changeVar:by:\", \"圓內的點點數\", 1]],\n\t\t\t\t\t\t\t\t\t[[\"lookLike:\", \"紅點點\"]]],\n\t\t\t\t\t\t\t\t[\"changeVar:by:\", \"全部的點點數\", 1],\n\t\t\t\t\t\t\t\t[\"stampCostume\"]]]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"藍點點\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"1321e70fb085b93600a94afd0a7117e4.svg\",\n\t\t\t\t\t\"bitmapResolution\": 1,\n\t\t\t\t\t\"rotationCenterX\": 1,\n\t\t\t\t\t\"rotationCenterY\": 1\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"costumeName\": \"紅點點\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"1057be0abd84898a1692ef9eb72e12e4.svg\",\n\t\t\t\t\t\"bitmapResolution\": 1,\n\t\t\t\t\t\"rotationCenterX\": 1,\n\t\t\t\t\t\"rotationCenterY\": 1\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": -71,\n\t\t\t\"scratchY\": 8,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 1,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"圓心\",\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"圓心\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"c419175914c976d0a38e2a2b513d7248.svg\",\n\t\t\t\t\t\"bitmapResolution\": 1,\n\t\t\t\t\t\"rotationCenterX\": 1,\n\t\t\t\t\t\"rotationCenterY\": 1\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 0,\n\t\t\t\"scratchY\": 0,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 2,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"全部的點點數\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"全部的點點數\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 5,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"圓內的點點數\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"圓內的點點數\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 32,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"圓周率 (近似值)\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"圓周率 (近似值)\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 59,\n\t\t\t\"visible\": true\n\t\t}],\n\t\"info\": {\n\t\t\"projectID\": \"projects_kdmsjkep\",\n\t\t\"userAgent\": \"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/64.0.3282.186 Safari\\/537.36\",\n\t\t\"scriptCount\": 2,\n\t\t\"swfVersion\": \"v454\",\n\t\t\"videoOn\": false,\n\t\t\"spriteCount\": 2,\n\t\t\"flashVersion\": \"MAC 29,0,0,140\",\n\t\t\"hasCloudData\": false\n\t}\n}","created_at":"2018-04-21T08:06:10.669+08:00","updated_at":"2019-09-14T09:46:22.079+08:00","name":"用蒙地卡羅法求圓周率","language":"scratch3","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/26747/6779cc04beb8d4bf18fe2d585938e0ad.jpg"},"parent_id":10353,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":124,"hashid":"kdmsjkep","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":493447,"file_name":"0.wav","project_id":26747,"asset_id":27725,"created_at":"2018-04-21T08:06:10.679+08:00","updated_at":"2018-04-21T08:06:10.679+08:00"},{"id":493448,"file_name":"0.svg","project_id":26747,"asset_id":27726,"created_at":"2018-04-21T08:06:10.684+08:00","updated_at":"2018-04-21T08:06:10.684+08:00"},{"id":493449,"file_name":"1.svg","project_id":26747,"asset_id":27727,"created_at":"2018-04-21T08:06:10.686+08:00","updated_at":"2018-04-21T08:06:10.686+08:00"},{"id":493450,"file_name":"2.svg","project_id":26747,"asset_id":27728,"created_at":"2018-04-21T08:06:10.688+08:00","updated_at":"2018-04-21T08:06:10.688+08:00"},{"id":493451,"file_name":"3.svg","project_id":26747,"asset_id":27729,"created_at":"2018-04-21T08:06:10.690+08:00","updated_at":"2018-04-21T08:06:10.690+08:00"},{"id":19485191,"file_name":null,"project_id":26747,"asset_id":23570,"created_at":"2024-11-04T00:05:16.701+08:00","updated_at":"2024-11-04T00:05:16.701+08:00"},{"id":19485192,"file_name":null,"project_id":26747,"asset_id":9,"created_at":"2024-11-04T00:05:16.704+08:00","updated_at":"2024-11-04T00:05:16.704+08:00"},{"id":19485193,"file_name":null,"project_id":26747,"asset_id":23568,"created_at":"2024-11-04T00:05:16.707+08:00","updated_at":"2024-11-04T00:05:16.707+08:00"},{"id":19485194,"file_name":null,"project_id":26747,"asset_id":23669,"created_at":"2024-11-04T00:05:16.709+08:00","updated_at":"2024-11-04T00:05:16.709+08:00"},{"id":19485195,"file_name":null,"project_id":26747,"asset_id":23566,"created_at":"2024-11-04T00:05:16.713+08:00","updated_at":"2024-11-04T00:05:16.713+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
語言
中文
简体中文
英文
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦