Moonblockで模様作成(JavaScript)

http://moonblock.jp/#s/58ef31aaa4ba51492070826
↑このURLに接続してください。
Java Scriptで書くと次のコードです。
[{
    "x": -359,
    "y": 190,
    "constructorName": "PuppetBlock",
    "variables": {
        "name": "ばくはつ",
        "fold": "+",
        "image": "effect0.gif",
        "behavior": {
            "x": 0,
            "y": 0,
            "constructorName": "FrameSequenceBlock",
            "variables": {
                "sequence": [0, 1, 2, 3, 4],
                "times": "2"
            },
            "next": null
        }
    }
}, {
    "x": -152,
    "y": 267,
    "constructorName": "PuppetBlock",
    "variables": {
        "name": "アイコン",
        "fold": "-",
        "image": "icon0.png",
        "behavior": {
            "x": 0,
            "y": 0,
            "constructorName": "FrameSequenceBlock",
            "variables": {
                "sequence": [24],
                "times": "2"
            },
            "next": {
                "x": 0,
                "y": 0,
                "constructorName": "DisplayBlock",
                "variables": {
                    "appeartype": "standAlone",
                    "interval": "30",
                    "initial": "10"
                },
                "next": {
                    "x": 0,
                    "y": 0,
                    "constructorName": "MoveBlock",
                    "variables": {
                        "type": "tapMove",
                        "zigzagdirection": "X",
                        "tapdirection": "",
                        "movedirection": "Left",
                        "dx": "0",
                        "dy": "0"
                    },
                    "next": {
                        "x": 0,
                        "y": 0,
                        "constructorName": "ListenerBlock",
                        "variables": {
                            "eventType": "enterframe",
                            "fold": "-",
                            "handler": {
                                "x": 0,
                                "y": 0,
                                "constructorName": "SetTimeoutBlock",
                                "variables": {
                                    "time": "1",
                                    "fold": "-",
                                    "thenDo": {
                                        "x": 0,
                                        "y": 0,
                                        "constructorName": "NewPuppetBlock",
                                        "variables": {
                                            "name": "ばくはつ",
                                            "fold": "-",
                                            "behavior": {
                                                "x": 0,
                                                "y": 0,
                                                "constructorName": "DisplayBlock",
                                                "variables": {
                                                    "appeartype": "standAlone",
                                                    "interval": "30",
                                                    "initial": "10"
                                                },
                                                "next": {
                                                    "x": 0,
                                                    "y": 0,
                                                    "constructorName": "SpecialBlock",
                                                    "variables": {
                                                        "type": "biggerdir",
                                                        "biggerdir": "",
                                                        "smallerdir": "",
                                                        "rotdir": "5"
                                                    },
                                                    "next": null
                                                }
                                            }
                                        },
                                        "next": null
                                    }
                                },
                                "next": null
                            }
                        },
                        "next": null
                    }
                }
            }
        }
    }
}]